Pass target_cpu to LinkerInfo::new instead of link_binary
This is one step towards separating the linking code from codegen backends
This commit is contained in:
parent
673c1b6e49
commit
808090eb07
7 changed files with 26 additions and 40 deletions
|
@ -295,7 +295,7 @@ pub(super) fn run_aot(
|
|||
metadata_module,
|
||||
metadata,
|
||||
windows_subsystem,
|
||||
linker_info: LinkerInfo::new(tcx),
|
||||
linker_info: LinkerInfo::new(tcx, crate::target_triple(tcx.sess).to_string()),
|
||||
crate_info: CrateInfo::new(tcx),
|
||||
},
|
||||
work_products,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue