Skip to content

Commit 221979f

Browse files
Fix nightly WASM target (#5799)
1 parent 9c32b51 commit 221979f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/collections/codepointtrie_builder/cpp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ wasm_obj/icu4c/%.o: $(ICU4C_SOURCE)/%.cpp
3030
wasm_obj/ucptrie_wrap.o: ucptrie_wrap.cpp
3131
mkdir -p wasm_obj
3232
$(CXX) --target=wasm32-unknown-wasi \
33-
-I/usr/include/wasm32-wasi \
33+
-I/usr/include/wasm32-wasip1 \
3434
--compile \
3535
-flto \
3636
-I$(ICU4C_SOURCE)/common \

tutorials/gn/build/rust_wasi/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
import("//tutorials/gn/build/rust_toolchain.gni")
66

77
rust_toolchain("rust_wasi") {
8-
rust_target = "wasm32-wasi"
8+
rust_target = "wasm32-wasip1"
99
}

tutorials/gn/gn.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ assert ${third_party_tools} "The GN third-party tools are not installed.\n*** Pl
161161
162162
cd tutorials/gn
163163
164-
exec --fail-on-error rustup target add wasm32-wasi --toolchain ${PINNED_CI_NIGHTLY}
164+
exec --fail-on-error rustup target add wasm32-wasip1 --toolchain ${PINNED_CI_NIGHTLY}
165165
166166
exec --fail-on-error ./third_party_tools/bin/gn gen --root=../.. --args=target_os="wasi" out/wasi
167167
exec --fail-on-error rustup run ${PINNED_CI_NIGHTLY} ./third_party_tools/depot_tools/ninja -C out/wasi

0 commit comments

Comments
 (0)