Move crate_name field from OngoingCodegen to CrateInfo
This commit is contained in:
parent
646c6043a7
commit
dbdeafbc26
@ -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…
x
Reference in New Issue
Block a user