diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-24 15:51:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 15:51:00 -0400 |
| commit | faa28be2f14b94148a19e1d4023b0a18f9b4d16a (patch) | |
| tree | 76aa83064c5e99619134e6beca07b245c1a9b9ad /compiler/rustc_codegen_ssa/src/back | |
| parent | 00e5f5886af17fe690a685290381531f840c5edc (diff) | |
| parent | f5f067bf9d8de86f3a546a33d8a2e08dfa64cde1 (diff) | |
| download | rust-faa28be2f14b94148a19e1d4023b0a18f9b4d16a.tar.gz rust-faa28be2f14b94148a19e1d4023b0a18f9b4d16a.zip | |
Rollup merge of #124712 - Enselic:deprecate-inline-threshold, r=pnkfelix
Deprecate no-op codegen option `-Cinline-threshold=...` This deprecates `-Cinline-threshold` since using it has no effect. This has been the case since the new LLVM pass manager started being used, more than 2 years ago. Recommend using `-Cllvm-args=--inline-threshold=...` instead. Closes #89742 which is E-help-wanted.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 064be4988bd..0e48eee3dd5 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -120,7 +120,6 @@ pub struct ModuleConfig { pub vectorize_loop: bool, pub vectorize_slp: bool, pub merge_functions: bool, - pub inline_threshold: Option<u32>, pub emit_lifetime_markers: bool, pub llvm_plugins: Vec<String>, } @@ -280,7 +279,6 @@ impl ModuleConfig { } }, - inline_threshold: sess.opts.cg.inline_threshold, emit_lifetime_markers: sess.emit_lifetime_markers(), llvm_plugins: if_regular!(sess.opts.unstable_opts.llvm_plugins.clone(), vec![]), } |
