Commit Graph

6 Commits

Author SHA1 Message Date
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