about summary refs log tree commit diff
diff options
context:
space:
mode:
authortempdragon <645703113@qq.com>2024-02-29 01:28:08 +0800
committertempdragon <645703113@qq.com>2024-02-29 01:29:20 +0800
commiteaeb54448e66edff57118bf9fe2ab3f13b98c04e (patch)
treeb7e31b6dc897d09704adf598249a17b201663bcd
parent51cd5f1c78462860890da4487616569400369378 (diff)
downloadrust-eaeb54448e66edff57118bf9fe2ab3f13b98c04e.tar.gz
rust-eaeb54448e66edff57118bf9fe2ab3f13b98c04e.zip
fix(base): Remove the `set_debug_info()` in `compile_codegen_unit`
-rw-r--r--src/base.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/base.rs b/src/base.rs
index 773e234150d..10aaf904bca 100644
--- a/src/base.rs
+++ b/src/base.rs
@@ -152,7 +152,6 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'_>, cgu_name: Symbol, target_info: Lock
         if env::var("CG_GCCJIT_DUMP_GIMPLE").as_deref() == Ok("1") {
             context.set_dump_initial_gimple(true);
         }
-        context.set_debug_info(true);
         if env::var("CG_GCCJIT_DUMP_EVERYTHING").as_deref() == Ok("1") {
             context.set_dump_everything(true);
         }