Skip to content

Commit ba6d212

Browse files
committed
Move Foundation module files to correct path
1 parent c985739 commit ba6d212

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/webassembly/build-foundation.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,8 @@ ninja -v install
3030
if [[ "$(uname)" == "Darwin" ]]; then
3131
mv $DESTINATION_TOOLCHAIN/usr/lib/swift_static/CoreFoundation \
3232
$DESTINATION_TOOLCHAIN/usr/lib/swift/wasi/wasm32/CoreFoundation
33-
fi
33+
fi
34+
35+
# .swiftdoc and .swiftmodule files should live in `swift`, not in `swift_static`
36+
mv $DESTINATION_TOOLCHAIN/usr/lib/swift_static/wasi/wasm32/Foundation.swift* \
37+
$DESTINATION_TOOLCHAIN/usr/lib/swift/wasi/wasm32

0 commit comments

Comments
 (0)