Alastair Houghton
0813e95569
Merge pull request #81440 from al45tair/currentos-availability
...
[Concurrency][Stdlib] Add SwiftStdlibCurrentOS availability, use it.
2025-07-07 12:04:00 +01:00
Kuba Mracek
6d71f45101
[embedded] Stop using -D__APPLE__ and -D__MACH__
2025-03-31 15:07:11 -07:00
Doug Gregor
8378562e12
Adopt @unsafe throughout the standard library
...
Annotate all of the `Unsafe*` types and `unsafe` functions in the standard
library (including concurrency, synchronization, etc.) as `@unsafe`. Add a
few tests to ensure that we detect uses of these types in clients that
have disabled unsafe code.
2024-08-19 14:33:09 -07:00
Kuba Mracek
6eeef12849
[embedded] Add a embedded-libraries CMake target to simplify the test dependencies
2024-06-23 13:08:01 -07:00
Kuba Mracek
1c66aeaa22
[Volatile] Mark VolatileMappedRegister as @frozen, transparent init, allow NULL pointer
2024-04-05 15:13:36 -07:00
Kuba Mracek
e722fc70d7
[Volatile] Rename UnsafeVolatilePointer to VolatileMappedRegister, use 'unsafe' name in initializer
2024-04-05 15:13:03 -07:00
Kuba Mracek
81f8b2a8cd
[Volatile] Remove extensions on UnsafeMutablePointer
2024-04-05 15:13:03 -07:00
Kuba Mracek
90c8a8e90e
Add experimental _Volatile module providing low-level primitives for MMIO
2024-04-05 15:13:03 -07:00