Skip to content

Commit 51e9da6

Browse files
committed
fixup! HEAD
1 parent 86f887c commit 51e9da6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/Runtimes/cmake/modules/EmitSwiftInterface.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,5 @@ function(emit_swift_interface target)
4747
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-emit-variant-module-interface-path ${CMAKE_CURRENT_BINARY_DIR}/${module_name}.swiftmodule/${${PROJECT_NAME}_VARIANT_MODULE_TRIPLE}.swiftinterface>"
4848
"$<$<COMPILE_LANGUAGE:Swift>:SHELL:-emit-variant-private-module-interface-path ${CMAKE_CURRENT_BINARY_DIR}/${module_name}.swiftmodule/${${PROJECT_NAME}_VARIANT_MODULE_TRIPLE}.private.swiftinterface>")
4949
endif()
50-
target_compile_options(${target} PRIVATE
51-
$<$<COMPILE_LANGUAGE:Swift>:-library-level$<SEMICOLON>api>
52-
$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend$<SEMICOLON>-require-explicit-availability=ignore>)
5350
endif()
5451
endfunction()

Utilities/bootstrap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,8 @@ def build_swiftpm_with_cmake(args):
751751
mkdir_p(os.path.join(args.bootstrap_dir, "pm", "ManifestAPI"))
752752
shutil.copy2(os.path.join(args.bootstrap_dir, "Sources", "Runtimes", "PackageDescription", "PackageDescription.swiftmodule", "%s.swiftmodule" % triple),
753753
os.path.join(args.bootstrap_dir, "pm", "ManifestAPI", "PackageDescription.swiftmodule"))
754+
shutil.copy2(os.path.join(args.bootstrap_dir, "Sources", "Runtimes", "CompilerPluginSupport", "CompilerPluginSupport.swiftmodule", "%s.swiftmodule" % triple),
755+
os.path.join(args.bootstrap_dir, "pm", "ManifestAPI", "CompilerPluginSupport.swiftmodule"))
754756

755757
mkdir_p(os.path.join(args.bootstrap_dir, "pm", "PluginAPI"))
756758
shutil.copy2(os.path.join(args.bootstrap_dir, "Sources", "Runtimes", "PackagePlugin", "PackagePlugin.swiftmodule", "%s.swiftmodule" % triple),

0 commit comments

Comments
 (0)