From cfcb12a625fff8be1d6d7ced5efcbe548f73f132 2022-02-08 14:01:38 From: mh Date: 2022-02-08 14:01:38 Subject: [PATCH] Bump rust compiler edition to 2021 --- diff --git a/bin-compiler/Cargo.toml b/bin-compiler/Cargo.toml index 4839196f242a3c855c128018c4906f63afd195e8..0ff506b0458350246b455ae117d70921ecfa93cb 100644 --- a/bin-compiler/Cargo.toml +++ b/bin-compiler/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Christopher Esterhuyse ", "Hans-Dieter Hiep " ] -edition = "2018" +edition = "2021" [dependencies] reowolf_rs = { path = "../" } diff --git a/bin-compiler/src/main.rs b/bin-compiler/src/main.rs index 83de8db5f299cc16fcca761135208c724404efbd..a8567bd6b37ce60434ce8049071f179c88082d04 100644 --- a/bin-compiler/src/main.rs +++ b/bin-compiler/src/main.rs @@ -4,7 +4,7 @@ use reowolf_rs as rw; fn main() { let app = App::new("rwc") .author("Henger, M.") - .version(env!(CARGO_PKG_VERSION)) + .version(env!("CARGO_PKG_VERSION")) .about("Reowolf compiler") .arg( Arg::new("input") @@ -13,6 +13,7 @@ fn main() { .help("input files") .required(true) .takes_value(true) + .multiple_occurrences(true) ); let app = app.get_matches();