Sync from rust a090c8659c3be0cbc7dc93c4b2c11a9cdbf8b980
This commit is contained in:
commit
d084fca557
@ -1,4 +1,4 @@
|
||||
//! Codegen of [`asm!`] invocations.
|
||||
//! Codegen of `asm!` invocations.
|
||||
|
||||
use crate::prelude::*;
|
||||
|
||||
|
@ -208,6 +208,7 @@ impl CodegenBackend for CraneliftCodegenBackend {
|
||||
&self,
|
||||
ongoing_codegen: Box<dyn Any>,
|
||||
_sess: &Session,
|
||||
_outputs: &OutputFilenames,
|
||||
) -> Result<(CodegenResults, FxHashMap<WorkProductId, WorkProduct>), ErrorReported> {
|
||||
Ok(*ongoing_codegen
|
||||
.downcast::<(CodegenResults, FxHashMap<WorkProductId, WorkProduct>)>()
|
||||
|
Loading…
x
Reference in New Issue
Block a user