Skip to content

Commit f053859

Browse files
committed
No C dep needed for wasm
1 parent 826a80f commit f053859

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

tools/swift-plugin-server/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ if (SWIFT_BUILD_SWIFT_SYNTAX)
6161
Sources/swift-wasm-plugin-server/JSCWasmEngine.swift
6262
Sources/swift-wasm-plugin-server/WasmEngine.swift
6363
Sources/swift-wasm-plugin-server/WasmKitEngine.swift
64-
DEPENDENCIES
65-
_swiftCSwiftPluginServer
6664
SWIFT_COMPONENT
6765
compiler
6866
SWIFT_DEPENDENCIES

tools/swift-plugin-server/Package.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,10 @@ let package = Package(
4343
name: "swift-wasm-plugin-server",
4444
dependencies: [
4545
.product(name: "SwiftCompilerPluginMessageHandling", package: "swift-syntax"),
46-
"CSwiftPluginServer",
4746
.product(name: "WASI", package: "WasmKit"),
4847
.product(name: "WasmKitWASI", package: "WasmKit", condition: .when(platforms: [.linux, .windows])),
4948
],
50-
swiftSettings: [.interoperabilityMode(.Cxx)] + (
51-
allowJSC ? [.define("SWIFT_WASM_USE_JSC", .when(platforms: [.macOS]))] : []
52-
)
49+
swiftSettings: allowJSC ? [.define("SWIFT_WASM_USE_JSC", .when(platforms: [.macOS]))] : []
5350
),
5451
],
5552
cxxLanguageStandard: .cxx17

0 commit comments

Comments
 (0)