mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Remove unused panic_runtime field from CrateInfo
This commit is contained in:
parent
323a74779f
commit
5aaa953dcc
@ -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);
|
||||
}
|
||||
|
@ -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<CrateNum>,
|
||||
pub compiler_builtins: Option<CrateNum>,
|
||||
pub profiler_runtime: Option<CrateNum>,
|
||||
pub is_no_builtins: FxHashSet<CrateNum>,
|
||||
|
Loading…
Reference in New Issue
Block a user