mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-09 22:37:34 +00:00
Don't provide rust-demangler
to run-make tests
The demangler was only needed by coverage tests, but those tests were migrated into their own custom test mode in #112300. This avoids having to build the demangler just for run-make tests. It will still be built as needed by run-coverage tests or for other purposes.
This commit is contained in:
parent
707d8c3f1b
commit
be0d73afec
@ -1567,7 +1567,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
|
||||
cmd.arg("--coverage-dump-path").arg(coverage_dump);
|
||||
}
|
||||
|
||||
if mode == "run-make" || mode == "run-coverage" {
|
||||
if mode == "run-coverage" {
|
||||
let rust_demangler = builder
|
||||
.ensure(tool::RustDemangler {
|
||||
compiler,
|
||||
|
@ -3546,10 +3546,6 @@ impl<'test> TestCx<'test> {
|
||||
cmd.env("RUSTDOC", cwd.join(rustdoc));
|
||||
}
|
||||
|
||||
if let Some(ref rust_demangler) = self.config.rust_demangler_path {
|
||||
cmd.env("RUST_DEMANGLER", cwd.join(rust_demangler));
|
||||
}
|
||||
|
||||
if let Some(ref node) = self.config.nodejs {
|
||||
cmd.env("NODE", node);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user