about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-10-25 19:06:04 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-10-27 17:18:47 +1100
commitbe0d73afec845d938899bf153a092d675288c79a (patch)
treea023be927e109f6c85979d4279fbd3a462419dd4 /src/tools/compiletest
parent707d8c3f1bba10d5aaa9c8719c410711edf2e227 (diff)
downloadrust-be0d73afec845d938899bf153a092d675288c79a.tar.gz
rust-be0d73afec845d938899bf153a092d675288c79a.zip
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.
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 87d0404e7d8..e74d66a8599 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -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);
         }