Skip to content

Commit 68fd8a5

Browse files
authored
Update build.sh
1 parent 98aa23d commit 68fd8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/Embedded/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -euxo pipefail
33
package_dir="$(cd "$(dirname "$0")" && pwd)"
44
swift package --package-path "$package_dir" \
5-
-c release --swift-sdk "$(swiftc -print-target-info | jq -r '.swiftCompilerTag')_wasm-embedded" js
5+
-c release --swift-sdk "${SWIFT_SDK_ID_wasm32_unknown_wasip1-embedded:-${SWIFT_SDK_ID:-wasm32-unknown-wasip1-embedded}}" js

0 commit comments

Comments
 (0)