Move crate_name field from OngoingCodegen to CrateInfo
This commit is contained in:
parent
96247017fa
commit
e30490d5b2
6 changed files with 6 additions and 9 deletions
|
@ -292,7 +292,6 @@ pub(crate) fn run_aot(
|
|||
|
||||
Box::new((
|
||||
CodegenResults {
|
||||
crate_name: tcx.crate_name(LOCAL_CRATE),
|
||||
modules,
|
||||
allocator_module,
|
||||
metadata_module,
|
||||
|
|
|
@ -218,7 +218,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||
sess,
|
||||
&codegen_results,
|
||||
outputs,
|
||||
&codegen_results.crate_name.as_str(),
|
||||
&codegen_results.crate_info.local_crate_name.as_str(),
|
||||
);
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue