File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,6 @@ build_target_toolchain() {
174
174
embed_wasi_sysroot () {
175
175
# Merge wasi-sdk and the toolchain
176
176
cp -r " $WASI_SYSROOT_PATH " " $DIST_TOOLCHAIN_SDK /usr/share"
177
-
178
- # Replace absolute sysroot path with relative path
179
- sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap"
180
- rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift/wasi/wasm32/wasi.modulemap.bak"
181
- sed -i.bak -e " s@\" .*/include@\" ../../../../share/wasi-sysroot/include@g" " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap"
182
- rm " $DIST_TOOLCHAIN_SDK /usr/lib/swift_static/wasi/wasm32/wasi.modulemap.bak"
183
177
}
184
178
185
179
swift_version () {
You can’t perform that action at this time.
0 commit comments