diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2017-08-01 15:57:38 +0200 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2017-08-01 15:57:38 +0200 |
| commit | 6468cad977d4c81d30ba000633eaa43bc18591f9 (patch) | |
| tree | a20aaa05e495a41487409aeefe91a793959f0327 | |
| parent | b8d441350b28a6325934584ae07e3437d5cf9ad3 (diff) | |
| download | rust-6468cad977d4c81d30ba000633eaa43bc18591f9.tar.gz rust-6468cad977d4c81d30ba000633eaa43bc18591f9.zip | |
async-llvm(29): Adapt run-make/llvm-phase test case to LLVM module not being available in memory.
| -rw-r--r-- | src/test/run-make/llvm-phase/test.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/test/run-make/llvm-phase/test.rs b/src/test/run-make/llvm-phase/test.rs index a75dc7e57a9..7a63871f19e 100644 --- a/src/test/run-make/llvm-phase/test.rs +++ b/src/test/run-make/llvm-phase/test.rs @@ -54,11 +54,7 @@ impl<'a> CompilerCalls<'a> for JitCalls { state.session.abort_if_errors(); let trans = state.trans.unwrap(); assert_eq!(trans.modules.len(), 1); - let rs_llmod = match trans.modules[0].source { - ModuleSource::Preexisting(_) => unimplemented!(), - ModuleSource::Translated(llvm) => llvm.llmod, - }; - unsafe { rustc_llvm::LLVMDumpModule(rs_llmod) }; + println!("name of compiled module = {}", trans.modules[0].name); }); cc } |
