Skip to content

Commit eac63b7

Browse files
committed
Rename S environment variable to SOURCE_ROOT in run-make tests
1 parent 7eff2d9 commit eac63b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3566,7 +3566,7 @@ impl<'test> TestCx<'test> {
35663566
.env(dylib_env_var(), &dylib_env_paths)
35673567
.env("TARGET", &self.config.target)
35683568
.env("PYTHON", &self.config.python)
3569-
.env("S", &src_root)
3569+
.env("SOURCE_ROOT", &src_root)
35703570
.env("RUST_BUILD_STAGE", &self.config.stage_id)
35713571
.env("RUSTC", cwd.join(&self.config.rustc_path))
35723572
.env("TMPDIR", &rmake_out_dir)

src/tools/run-make-support/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn htmldocck() -> Command {
8989

9090
/// Path to the root rust-lang/rust source checkout.
9191
pub fn source_root() -> PathBuf {
92-
env_var("S").into()
92+
env_var("SOURCE_ROOT").into()
9393
}
9494

9595
/// Construct the static library name based on the platform.

0 commit comments

Comments
 (0)