We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59464c3 + bb3c945 commit e832698Copy full SHA for e832698
utils/swift_build_sdk_interfaces.py
@@ -416,6 +416,10 @@ def main():
416
non_stdlib_module_files = (
417
x for x in module_files if x.name != STDLIB_NAME)
418
status = process_module_files(pool, non_stdlib_module_files)
419
+ if os.name == 'nt':
420
+ import ctypes
421
+ Kernel32 = ctypes.cdll.LoadLibrary("Kernel32.dll")
422
+ Kernel32.ExitProcess(ctypes.c_ulong(status))
423
sys.exit(status)
424
425
0 commit comments