Discover Rust toolchain without Python
This commit is contained in:
parent
e21eb613e0
commit
a625ab77e8
3 changed files with 36 additions and 12 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue