Skip to content

Commit 6468cad

Browse files
async-llvm(29): Adapt run-make/llvm-phase test case to LLVM module not being available in memory.
1 parent b8d4413 commit 6468cad

File tree

1 file changed

+1
-5
lines changed
  • src/test/run-make/llvm-phase

1 file changed

+1
-5
lines changed

src/test/run-make/llvm-phase/test.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ impl<'a> CompilerCalls<'a> for JitCalls {
5454
state.session.abort_if_errors();
5555
let trans = state.trans.unwrap();
5656
assert_eq!(trans.modules.len(), 1);
57-
let rs_llmod = match trans.modules[0].source {
58-
ModuleSource::Preexisting(_) => unimplemented!(),
59-
ModuleSource::Translated(llvm) => llvm.llmod,
60-
};
61-
unsafe { rustc_llvm::LLVMDumpModule(rs_llmod) };
57+
println!("name of compiled module = {}", trans.modules[0].name);
6258
});
6359
cc
6460
}

0 commit comments

Comments
 (0)