Skip to content

Commit bf71ad2

Browse files
committed
[CI] Enable Wasm SDK build
1 parent 1aa6098 commit bf71ad2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
tests:
1515
name: Test
1616
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
17+
with:
18+
enable_wasm_sdk_build: true
1719
soundness:
1820
name: Soundness
1921
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main

Sources/SwiftLibraryPluginProvider/LibraryPluginProvider.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#if !os(WASI)
14+
1315
#if compiler(>=6)
1416
public import SwiftSyntaxMacros
1517
@_spi(PluginMessage) public import SwiftCompilerPluginMessageHandling
@@ -221,3 +223,5 @@ extension UnsafeMutableBufferPointer {
221223
}
222224
}
223225
#endif
226+
227+
#endif // !os(WASI)

0 commit comments

Comments
 (0)