bootstrap: tests should use rustc from config.toml
Tests should always use "rustc" and "cargo" from config.toml instead of assuming that stage0 binaries was downloaded to build directory.
This commit is contained in:
parent
4faaf7e335
commit
ddc1d29442
2 changed files with 4 additions and 4 deletions
|
@ -816,6 +816,8 @@ def bootstrap(help_triggered):
|
|||
env["BOOTSTRAP_PYTHON"] = sys.executable
|
||||
env["BUILD_DIR"] = build.build_dir
|
||||
env["RUSTC_BOOTSTRAP"] = '1'
|
||||
env["CARGO"] = build.cargo()
|
||||
env["RUSTC"] = build.rustc()
|
||||
run(args, env=env, verbose=build.verbose)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue