diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-04-16 08:14:36 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-04-16 08:14:36 +0200 |
| commit | bd9bd388fcba2d68b9eab6ff8a051bd07bcde525 (patch) | |
| tree | cfd33409cf4b9516499202ab67249f40a3841b92 /src | |
| parent | f433fa46b0fd27d35219357ad75f54d294081bc4 (diff) | |
| download | rust-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.rs | 2 |
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 |
