Skip to content

Commit

Permalink
refactor: Update Makefile to fix wasm build on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
theashraf committed Dec 12, 2024
1 parent 73eb1fb commit f775365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ endef

define CARGO_BUILD
if [ "$(CARGO_TARGET)" = "wasm32-unknown-emscripten" ]; then \
. $(EMSDK_DIR)/$(EMSDK)_env.sh && \
source $(EMSDK_DIR)/$(EMSDK)_env.sh && \
RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build \
-Z build-std=std,panic_abort \
-Z build-std-features="panic_immediate_abort,optimize_for_size" \
Expand Down

0 comments on commit f775365

Please sign in to comment.