mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rename S environment variable to SOURCE_ROOT in run-make tests
This commit is contained in:
@@ -3566,7 +3566,7 @@ fn run_rmake_v2_test(&self) {
|
||||
.env(dylib_env_var(), &dylib_env_paths)
|
||||
.env("TARGET", &self.config.target)
|
||||
.env("PYTHON", &self.config.python)
|
||||
.env("S", &src_root)
|
||||
.env("SOURCE_ROOT", &src_root)
|
||||
.env("RUST_BUILD_STAGE", &self.config.stage_id)
|
||||
.env("RUSTC", cwd.join(&self.config.rustc_path))
|
||||
.env("TMPDIR", &rmake_out_dir)
|
||||
|
||||
@@ -89,7 +89,7 @@ pub fn htmldocck() -> Command {
|
||||
|
||||
/// Path to the root rust-lang/rust source checkout.
|
||||
pub fn source_root() -> PathBuf {
|
||||
env_var("S").into()
|
||||
env_var("SOURCE_ROOT").into()
|
||||
}
|
||||
|
||||
/// Construct the static library name based on the platform.
|
||||
|
||||
Reference in New Issue
Block a user