diff options
| author | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-25 23:47:11 +0000 |
| commit | 797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4 (patch) | |
| tree | 811ca661f067af0af334b460c71448460ccb81bf /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 8dfb3395411555e93399671d0c41a4ac9ed62b95 (diff) | |
| parent | a054e703b1d6335d7145c7280d63add754bb0d93 (diff) | |
| download | rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.tar.gz rust-797b5f0f8e9ab6d02a6a1464b04dea75a7a4cde4.zip | |
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #105375 (Fix an outdated comment mentioning parameter that doesn't exist anymore) - #105955 (Remove wrapper functions for some unstable options) - #106137 (fix more clippy::style findings) - #106140 (Migrate links-color.goml to functions) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index 2fa602520dc..79b243f73d1 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -81,10 +81,10 @@ unsafe fn configure_llvm(sess: &Session) { }; // Set the llvm "program name" to make usage and invalid argument messages more clear. add("rustc -Cllvm-args=\"...\" with", true); - if sess.time_llvm_passes() { + if sess.opts.unstable_opts.time_llvm_passes { add("-time-passes", false); } - if sess.print_llvm_passes() { + if sess.opts.unstable_opts.print_llvm_passes { add("-debug-pass=Structure", false); } if sess.target.generate_arange_section |
