Skip to content

Commit 38c3aec

Browse files
authored
Merge pull request #83552 from compnerd/volatility
Volatile: address some feedback from review
2 parents cadae7d + 4a07979 commit 38c3aec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Runtimes/Supplemental/Volatile/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ option(${PROJECT_NAME}_ENABLE_PRESPECIALIZATION "Enable generic metadata prespec
6565
add_compile_options(
6666
$<$<COMPILE_LANGUAGE:Swift>:-explicit-module-build>
6767
$<$<COMPILE_LANGUAGE:Swift>:-nostdlibimport>
68-
$<$<COMPILE_LANGUAGE:Swift>:-enable-builtin-module>
6968
$<$<COMPILE_LANGUAGE:Swift>:-strict-memory-safety>
7069
"$<$<AND:$<BOOL:${${PROJECT_NAME}_ENABLE_LIBRARY_EVOLUTION}>,$<COMPILE_LANGUAGE:Swift>>:-enable-library-evolution>"
7170
"$<$<AND:$<BOOL:${${PROJECT_NAME}_ENABLE_PRESPECIALIZATION}>,$<COMPILE_LANGUAGE:Swift>>:SHELL:-Xfrontend -prespecialize-generic-metadata>")
@@ -75,7 +74,7 @@ add_compile_options(
7574
# LNK4217: symbol 'symbol' defined in 'filename_1.obj' is imported by 'filename_2.obj' in function 'function'
7675
#
7776
# We cannot selectively filter the linker warnings as we do not use the MSVC
78-
# frontned and `clang-cl` (and `clang`) currently do not support `/WX:nnnn`. As
77+
# frontend and `clang-cl` (and `clang`) currently do not support `/WX:nnnn`. As
7978
# a compromise, treat all linker warnings as errors.
8079
add_link_options($<$<PLATFORM_ID:Windows>:LINKER:/WX>)
8180

0 commit comments

Comments
 (0)