]> git.lizzy.rs Git - rust.git/blobdiff - x.py
Rollup merge of #45113 - Pirh:process_output_links, r=steveklabnik
[rust.git] / x.py
diff --git a/x.py b/x.py
index d281a6abc93e37ef7321bf83110ec54846e3df5a..e277ab98be10f30f945dad3570daeadf8e9c62d5 100755 (executable)
--- a/x.py
+++ b/x.py
@@ -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 bootstrap.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()