6 lines
No EOL
179 B
Rust
6 lines
No EOL
179 B
Rust
use std::{fs::File, io::Write};
|
|
|
|
fn main(){
|
|
let version = concat!("v", env!("CARGO_PKG_VERSION"));
|
|
File::create("version.txt").unwrap().write_all(version.as_bytes()).unwrap();
|
|
} |