Skip to content

Commit 0dc8388

Browse files
committed
Add experimental flag to enable @unsafe in Volatile library
1 parent 724ef78 commit 0dc8388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Volatile/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
4242
Volatile.swift
4343

4444
SWIFT_COMPILE_FLAGS
45-
-Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding -enable-experimental-feature Embedded
45+
-Xcc -D__MACH__ -Xcc -D__APPLE__ -Xcc -ffreestanding -enable-experimental-feature Embedded -enable-experimental-feature AllowUnsafeAttribute
4646
-parse-stdlib
4747
C_COMPILE_FLAGS
4848
-D__MACH__ -D__APPLE__ -ffreestanding

0 commit comments

Comments
 (0)