mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
assert that should_fix_bins_and_dylibs has been run
This commit is contained in:
@@ -22,7 +22,8 @@ if sys.version_info.major < 3:
|
||||
pass
|
||||
|
||||
rust_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path[:0] = [os.path.join(rust_dir, "src", "bootstrap")]
|
||||
# For the import below, have Python search in src/bootstrap first.
|
||||
sys.path.insert(0, os.path.join(rust_dir, "src", "bootstrap"))
|
||||
|
||||
import bootstrap
|
||||
bootstrap.main()
|
||||
|
||||
Reference in New Issue
Block a user