]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/bootstrap.py
Rollup merge of #107808 - kadiwa4:built-unsuccessfully, r=albertlarsan68
[rust.git] / src / bootstrap / bootstrap.py
index c298817895cd17c00cfdea87d99b01f5c4a4946e..45f238ef4bf1f7202d5cfbe7bc3fcea992e7d139 100644 (file)
@@ -937,6 +937,7 @@ def main():
         )
 
     exit_code = 0
+    success_word = "successfully"
     try:
         bootstrap(args)
     except (SystemExit, KeyboardInterrupt) as error:
@@ -945,9 +946,10 @@ def main():
         else:
             exit_code = 1
             print(error)
+        success_word = "unsuccessfully"
 
     if not help_triggered:
-        print("Build completed successfully in", format_build_time(time() - start_time))
+        print("Build completed", success_word, "in", format_build_time(time() - start_time))
     sys.exit(exit_code)