Fix test.
This commit is contained in:
parent
27513a21c4
commit
becfe5c153
1 changed files with 6 additions and 1 deletions
|
|
@ -66,6 +66,11 @@ fn compile(code: String, output: PathBuf, sysroot: PathBuf) {
|
|||
|
||||
interface::run_compiler(config, |compiler| {
|
||||
// This runs all the passes prior to linking, too.
|
||||
compiler.link().ok();
|
||||
let linker = compiler.enter(|queries| {
|
||||
queries.linker()
|
||||
});
|
||||
if let Ok(linker) = linker {
|
||||
linker.link();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue