mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
bootstrap.py: Report build status
Move some code from x.py to bootstrap.py
This commit is contained in:
@@ -9,14 +9,12 @@
|
||||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
import sys
|
||||
# This file is only a "symlink" to boostrap.py, all logic should go there.
|
||||
|
||||
import os
|
||||
dir = os.path.dirname(__file__)
|
||||
sys.path.append(os.path.abspath(os.path.join(dir, "src", "bootstrap")))
|
||||
import sys
|
||||
rust_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.append(os.path.join(rust_dir, "src", "bootstrap"))
|
||||
|
||||
import bootstrap
|
||||
|
||||
try:
|
||||
bootstrap.main()
|
||||
except KeyboardInterrupt:
|
||||
sys.exit()
|
||||
bootstrap.main()
|
||||
|
||||
Reference in New Issue
Block a user