Files
swift-mirror/stdlib/public/EmbeddedPlatform
Doug Gregor 4f1a0b7016 [Embedded] Add _swift_exit() to the Platform Abstraction Layer
The Embedded Swift concurrency library needs a way to exit the program
at the end of async main. The existing implementation calls through a
_swift_exit() function to the POSIX/C exit(). Enshrine _swift_exit()
as part of the Platform Abstraction Layer, with the same signature
(albeit in C), and implement it in the PAL-on-POSIX library as a call
through to exit().
2026-05-05 21:30:59 -07:00
..