1
Fork 0

Discover Rust toolchain without Python

This commit is contained in:
Mark Rousskov 2020-09-07 12:02:50 -04:00
parent e21eb613e0
commit a625ab77e8
3 changed files with 36 additions and 12 deletions

View file

@ -1035,12 +1035,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()
if toml_path:
env["BOOTSTRAP_CONFIG"] = toml_path
if build.rustfmt():
env["RUSTFMT"] = build.rustfmt()
run(args, env=env, verbose=build.verbose)