Set BUILD_TRIPLE via build script
This moves build triple discovery for rustbuild from bootstrap.py into a build script, meaning it will "just work" if building rustbuild via Cargo rather than Python.
This commit is contained in:
parent
81e02708f1
commit
6d19561587
4 changed files with 5 additions and 2 deletions
|
@ -1032,7 +1032,6 @@ def bootstrap(help_triggered):
|
|||
args = [build.bootstrap_binary()]
|
||||
args.extend(sys.argv[1:])
|
||||
env = os.environ.copy()
|
||||
env["BUILD"] = build.build
|
||||
env["SRC"] = build.rust_root
|
||||
env["BOOTSTRAP_PARENT_ID"] = str(os.getpid())
|
||||
env["BOOTSTRAP_PYTHON"] = sys.executable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue