We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052d958 commit f822e28Copy full SHA for f822e28
1 file changed
src/base.rs
@@ -220,6 +220,12 @@ pub(crate) fn compile_fn(
220
);
221
early_dcx.early_fatal(format!("cranelift verify error:\n{}", pretty_error));
222
}
223
+ Err(ModuleError::Compilation(CodegenError::Unsupported(msg))) => {
224
+ let early_dcx = rustc_session::EarlyDiagCtxt::new(
225
+ rustc_session::config::ErrorOutputType::default(),
226
+ );
227
+ early_dcx.early_fatal(format!("cranelift codegen error: {msg}"));
228
+ }
229
Err(err) => {
230
panic!("Error while defining {name}: {err:?}", name = codegened_func.symbol_name);
231
0 commit comments