diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-07-25 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-07-28 14:33:29 +0200 |
| commit | 01f4534b4216e56baea280d82f595f26a6ef71de (patch) | |
| tree | 14ae3e2857185826fbaa35a3ee77d4e22d3b6cdc /src/bootstrap | |
| parent | 2e7b4217781896f2856faa97f87d5a0fc24c53ce (diff) | |
| download | rust-01f4534b4216e56baea280d82f595f26a6ef71de.tar.gz rust-01f4534b4216e56baea280d82f595f26a6ef71de.zip | |
Build rust demangler before running run-make tests
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index fd583da9082..5c8034d53e3 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -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); } |
