Skip to content

Commit

Permalink
Fix nightly WASM target (#5799)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian authored Nov 8, 2024
1 parent 9c32b51 commit 221979f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/collections/codepointtrie_builder/cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ wasm_obj/icu4c/%.o: $(ICU4C_SOURCE)/%.cpp
wasm_obj/ucptrie_wrap.o: ucptrie_wrap.cpp
mkdir -p wasm_obj
$(CXX) --target=wasm32-unknown-wasi \
-I/usr/include/wasm32-wasi \
-I/usr/include/wasm32-wasip1 \
--compile \
-flto \
-I$(ICU4C_SOURCE)/common \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/gn/build/rust_wasi/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
import("//tutorials/gn/build/rust_toolchain.gni")

rust_toolchain("rust_wasi") {
rust_target = "wasm32-wasi"
rust_target = "wasm32-wasip1"
}
2 changes: 1 addition & 1 deletion tutorials/gn/gn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ assert ${third_party_tools} "The GN third-party tools are not installed.\n*** Pl
cd tutorials/gn
exec --fail-on-error rustup target add wasm32-wasi --toolchain ${PINNED_CI_NIGHTLY}
exec --fail-on-error rustup target add wasm32-wasip1 --toolchain ${PINNED_CI_NIGHTLY}
exec --fail-on-error ./third_party_tools/bin/gn gen --root=../.. --args=target_os="wasi" out/wasi
exec --fail-on-error rustup run ${PINNED_CI_NIGHTLY} ./third_party_tools/depot_tools/ninja -C out/wasi
Expand Down

0 comments on commit 221979f

Please sign in to comment.