From f7753655af556ff23ff649b0bb6fe52eaa9d9020 Mon Sep 17 00:00:00 2001 From: Abdelrahman Ashraf Date: Thu, 12 Dec 2024 21:40:41 +0700 Subject: [PATCH] refactor: Update Makefile to fix wasm build on Ubuntu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1a3d5bb..e5288b3c 100644 --- a/Makefile +++ b/Makefile @@ -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" \