Skip to content

Commit

Permalink
Merge pull request #62333 from compnerd/dance
Browse files Browse the repository at this point in the history
build: disable bytecode layout library without stdlib
  • Loading branch information
compnerd committed Dec 1, 2022
2 parents c7ab760 + bf37f35 commit a66c6c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stdlib/toolchain/CMakeLists.txt
Expand Up @@ -46,7 +46,9 @@ endif()
# runtime being patched only through public ABI.
list(APPEND CXX_COMPILE_FLAGS "-DSWIFT_COMPATIBILITY_LIBRARY=1")

add_subdirectory(CompatibilityBytecodeLayouts)
if(SWIFT_BUILD_STDLIB)
add_subdirectory(CompatibilityBytecodeLayouts)
endif()

if(SWIFT_STDLIB_SUPPORT_BACK_DEPLOYMENT)
add_subdirectory(legacy_layouts)
Expand Down

0 comments on commit a66c6c1

Please sign in to comment.