From 6d95f5b00edb4803ad18214aa690b170965e24fa Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Wed, 22 Feb 2023 14:28:32 +0900 Subject: [PATCH] Modify wasm Makefile --- wasm/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wasm/Makefile b/wasm/Makefile index cffb398..743349b 100644 --- a/wasm/Makefile +++ b/wasm/Makefile @@ -9,10 +9,9 @@ ld45.html: src/main.c ../target/wasm32-unknown-emscripten/release/libld45_lib.a -sTOTAL_MEMORY=1024MB \ -sALLOW_MEMORY_GROWTH=1 \ -O2 \ +-fsanitize=address \ -sEXPORTED_FUNCTIONS="['_malloc', '_main']" \ -sEXPORTED_RUNTIME_METHODS=ccall,cwrap \ --fsanitize=address \ --sWARN_UNALIGNED=1 \ --preload-file ../static src/main.c ln -sf ld45.html index.html