From 7574c2e66abbb04890482023e51ea93139cd55e6 Mon Sep 17 00:00:00 2001 From: Andrei Marinica Date: Sun, 17 Sep 2023 05:31:53 +0300 Subject: [PATCH 1/2] meta all command - fixed --locked argument --- framework/meta/src/cli_args/cli_args_build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/meta/src/cli_args/cli_args_build.rs b/framework/meta/src/cli_args/cli_args_build.rs index daaf08039a..b5fae1ed2e 100644 --- a/framework/meta/src/cli_args/cli_args_build.rs +++ b/framework/meta/src/cli_args/cli_args_build.rs @@ -119,6 +119,9 @@ impl BuildArgs { impl CliArgsToRaw for BuildArgs { fn to_raw(&self) -> Vec { let mut raw = Vec::new(); + if self.locked { + raw.push("--locked".to_string()); + } if self.wasm_symbols { raw.push("--wasm-symbols".to_string()); } From ed13a8f2e07988103d8df285d9036f761abeb9ba Mon Sep 17 00:00:00 2001 From: Andrei Marinica Date: Sun, 17 Sep 2023 06:06:01 +0300 Subject: [PATCH 2/2] dep feature cleanup --- framework/meta/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/meta/Cargo.toml b/framework/meta/Cargo.toml index a0772f7b1c..7c926e4290 100644 --- a/framework/meta/Cargo.toml +++ b/framework/meta/Cargo.toml @@ -36,7 +36,7 @@ anyhow = "1.0.44" rustc_version = "0.4" toml = { version = "0.5.8", features = ["preserve_order"] } ruplacer = "0.8.1" -clap = { version = "4.1.0", features = ["derive", "cargo"] } +clap = { version = "4.1.0", features = ["derive"] } colored = "2.0" pathdiff = "0.2.1" common-path = "1.0.0"