Move crate_name field from OngoingCodegen to CrateInfo
This commit is contained in:
@@ -292,7 +292,6 @@ pub(crate) fn run_aot(
|
|||||||
|
|
||||||
Box::new((
|
Box::new((
|
||||||
CodegenResults {
|
CodegenResults {
|
||||||
crate_name: tcx.crate_name(LOCAL_CRATE),
|
|
||||||
modules,
|
modules,
|
||||||
allocator_module,
|
allocator_module,
|
||||||
metadata_module,
|
metadata_module,
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
|||||||
sess,
|
sess,
|
||||||
&codegen_results,
|
&codegen_results,
|
||||||
outputs,
|
outputs,
|
||||||
&codegen_results.crate_name.as_str(),
|
&codegen_results.crate_info.local_crate_name.as_str(),
|
||||||
);
|
);
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user