Skip to content

Commit

Permalink
Build rust demangler before running run-make tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Jul 28, 2022
1 parent 2e7b421 commit 01f4534
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1384,9 +1384,13 @@ note: if you're sure you want to do this, please open an issue as to why. In the
.arg(builder.ensure(tool::JsonDocCk { compiler: json_compiler, target }));
}

if mode == "run-make" && suite.ends_with("fulldeps") {
if mode == "run-make" {
let rust_demangler = builder
.ensure(tool::RustDemangler { compiler, target, extra_features: Vec::new() })
.ensure(tool::RustDemangler {
compiler,
target: compiler.host,
extra_features: Vec::new(),
})
.expect("in-tree tool");
cmd.arg("--rust-demangler-path").arg(rust_demangler);
}
Expand Down

0 comments on commit 01f4534

Please sign in to comment.