Skip to content

Commit cba1304

Browse files
authored
Rollup merge of rust-lang#38299 - achanda:ctrl-c, r=brson
Handle Ctrl+C in the build script
2 parents e3363f2 + b7cd840 commit cba1304

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: x.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@
1616

1717
import bootstrap
1818

19-
bootstrap.main()
19+
try:
20+
bootstrap.main()
21+
except KeyboardInterrupt:
22+
sys.exit()

0 commit comments

Comments
 (0)