diff options
| author | bors <bors@rust-lang.org> | 2024-08-30 05:13:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-30 05:13:13 +0000 |
| commit | f03c7b21700478c6c2b335b37caba72c3a06e447 (patch) | |
| tree | 5ea72db01aae5b01c502d58a9d4f69cbfab321af /compiler/rustc_codegen_ssa/src | |
| parent | ad7a1aa32ab388dd9748a10a4c983df9da3d23cb (diff) | |
| parent | 23f4eae905486ee02cecee1200fb8623a7ef376a (diff) | |
| download | rust-f03c7b21700478c6c2b335b37caba72c3a06e447.tar.gz rust-f03c7b21700478c6c2b335b37caba72c3a06e447.zip | |
Auto merge of #3853 - rust-lang:rustup-2024-08-30, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 7ad31802454..feb27c148a1 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -112,6 +112,7 @@ pub struct ModuleConfig { // Miscellaneous flags. These are mostly copied from command-line // options. pub verify_llvm_ir: bool, + pub lint_llvm_ir: bool, pub no_prepopulate_passes: bool, pub no_builtins: bool, pub time_module: bool, @@ -237,6 +238,7 @@ impl ModuleConfig { bc_cmdline: sess.target.bitcode_llvm_cmdline.to_string(), verify_llvm_ir: sess.verify_llvm_ir(), + lint_llvm_ir: sess.opts.unstable_opts.lint_llvm_ir, no_prepopulate_passes: sess.opts.cg.no_prepopulate_passes, no_builtins: no_builtins || sess.target.no_builtins, |
