]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/allocator.rs
Auto merge of #97313 - cjgillot:ast-lifetimes-anon, r=petrochenkov
[rust.git] / compiler / rustc_codegen_llvm / src / allocator.rs
index f935acb1a7ea3f84c57c302d3714de2b1f386506..72961ae888e5f01e1c2a3fe397b06227f5a81c3f 100644 (file)
@@ -145,7 +145,7 @@ pub(crate) unsafe fn codegen(
     if tcx.sess.target.default_hidden_visibility {
         llvm::LLVMRustSetVisibility(ll_g, llvm::Visibility::Hidden);
     }
-    let val = tcx.sess.opts.debugging_opts.oom.should_panic();
+    let val = tcx.sess.opts.unstable_opts.oom.should_panic();
     let llval = llvm::LLVMConstInt(i8, val as u64, False);
     llvm::LLVMSetInitializer(ll_g, llval);