about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-04-16 08:14:36 +0200
committerJakub Beránek <berykubik@gmail.com>2025-04-16 08:14:36 +0200
commitbd9bd388fcba2d68b9eab6ff8a051bd07bcde525 (patch)
treecfd33409cf4b9516499202ab67249f40a3841b92 /src
parentf433fa46b0fd27d35219357ad75f54d294081bc4 (diff)
downloadrust-bd9bd388fcba2d68b9eab6ff8a051bd07bcde525.tar.gz
rust-bd9bd388fcba2d68b9eab6ff8a051bd07bcde525.zip
Allow disabling `--llvm-shared` in opt-dist
Diffstat (limited to 'src')
-rw-r--r--src/tools/opt-dist/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/opt-dist/src/main.rs b/src/tools/opt-dist/src/main.rs
index ac5d294f07e..ff4ddbaea49 100644
--- a/src/tools/opt-dist/src/main.rs
+++ b/src/tools/opt-dist/src/main.rs
@@ -76,7 +76,7 @@ enum EnvironmentCmd {
         rustc_perf_checkout_dir: Option<Utf8PathBuf>,
 
         /// Is LLVM for `rustc` built in shared library mode?
-        #[arg(long, default_value_t = true)]
+        #[arg(long, default_value_t = true, action(clap::ArgAction::Set))]
         llvm_shared: bool,
 
         /// Should BOLT optimization be used? If yes, host LLVM must have BOLT binaries