diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77954fe..bdb423b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -68,7 +68,7 @@ jobs: - run: > swift build --swift-sdk wasm32-unknown-wasi --build-tests - -Xswiftc -static-stdlib + --static-swift-stdlib -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor -Xlinker --export-if-defined=__main_argc_argv --disable-build-manifest-caching diff --git a/BrowserTests/bin/build b/BrowserTests/bin/build index 79f5644..273caf6 100755 --- a/BrowserTests/bin/build +++ b/BrowserTests/bin/build @@ -6,7 +6,7 @@ set -x swift build --swift-sdk wasm32-unknown-wasi \ --disable-build-manifest-caching \ - -Xswiftc -static-stdlib \ + --static-swift-stdlib \ -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor \ -Xlinker --export-if-defined=__main_argc_argv \ -Xlinker --stack-first \ diff --git a/bin/test b/bin/test index abbf644..5bf7d66 100755 --- a/bin/test +++ b/bin/test @@ -6,10 +6,10 @@ set -x swift build --swift-sdk wasm32-unknown-wasi \ --build-tests \ - -Xswiftc -static-stdlib \ + --disable-build-manifest-caching \ + --static-swift-stdlib \ -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor \ -Xlinker --export-if-defined=__main_argc_argv \ - --disable-build-manifest-caching \ -Xlinker --stack-first \ -Xlinker --global-base=1048576 \ -Xlinker -z -Xlinker stack-size=1048576 diff --git a/docs/configure.ja.md b/docs/configure.ja.md index 808968e..38cb0e1 100644 --- a/docs/configure.ja.md +++ b/docs/configure.ja.md @@ -124,7 +124,7 @@ $ swift sdk install ```sh $ swift build --swift-sdk wasm32-unknown-wasi \ --disable-build-manifest-caching \ - -Xswiftc -static-stdlib \ + --static-swift-stdlib \ -Xswiftc -Xclang-linker -Xswiftc -mexec-model=reactor \ -Xlinker --export-if-defined=__main_argc_argv \ -Xlinker --stack-first \