Skip to content

Commit bd9bd38

Browse files
committed
Allow disabling --llvm-shared in opt-dist
1 parent f433fa4 commit bd9bd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/opt-dist/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum EnvironmentCmd {
7676
rustc_perf_checkout_dir: Option<Utf8PathBuf>,
7777

7878
/// Is LLVM for `rustc` built in shared library mode?
79-
#[arg(long, default_value_t = true)]
79+
#[arg(long, default_value_t = true, action(clap::ArgAction::Set))]
8080
llvm_shared: bool,
8181

8282
/// Should BOLT optimization be used? If yes, host LLVM must have BOLT binaries

0 commit comments

Comments
 (0)