diff --git a/compiler/rustc_codegen_ssa/src/base.rs b/compiler/rustc_codegen_ssa/src/base.rs index 234825b3909..963ff334ec3 100644 --- a/compiler/rustc_codegen_ssa/src/base.rs +++ b/compiler/rustc_codegen_ssa/src/base.rs @@ -774,7 +774,6 @@ impl CrateInfo { let mut info = CrateInfo { linker_info, local_crate_name, - panic_runtime: None, compiler_builtins: None, profiler_runtime: None, is_no_builtins: Default::default(), @@ -803,9 +802,6 @@ impl CrateInfo { .insert(cnum, tcx.native_libraries(cnum).iter().map(Into::into).collect()); info.crate_name.insert(cnum, tcx.crate_name(cnum).to_string()); info.used_crate_source.insert(cnum, tcx.used_crate_source(cnum)); - if tcx.is_panic_runtime(cnum) { - info.panic_runtime = Some(cnum); - } if tcx.is_compiler_builtins(cnum) { info.compiler_builtins = Some(cnum); } diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs index bcd9182f58d..eb266e1b9d3 100644 --- a/compiler/rustc_codegen_ssa/src/lib.rs +++ b/compiler/rustc_codegen_ssa/src/lib.rs @@ -137,7 +137,6 @@ impl From<&cstore::NativeLib> for NativeLib { pub struct CrateInfo { pub linker_info: back::linker::LinkerInfo, pub local_crate_name: Symbol, - pub panic_runtime: Option, pub compiler_builtins: Option, pub profiler_runtime: Option, pub is_no_builtins: FxHashSet,