mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
Merge pull request #437 from rust-lang/dummy-emit-ir
Implement dummy emit=llvm-ir
This commit is contained in:
+2
-1
@@ -70,7 +70,8 @@ pub(crate) unsafe fn codegen(cgcx: &CodegenContext<GccCodegenBackend>, diag_hand
|
||||
}
|
||||
|
||||
if config.emit_ir {
|
||||
unimplemented!();
|
||||
let out = cgcx.output_filenames.temp_path(OutputType::LlvmAssembly, module_name);
|
||||
std::fs::write(out, "").expect("write file");
|
||||
}
|
||||
|
||||
if config.emit_asm {
|
||||
|
||||
Reference in New Issue
Block a user