From: Stephen Seo Date: Wed, 22 Feb 2023 05:28:32 +0000 (+0900) Subject: Modify wasm Makefile X-Git-Url: https://git.seodisparate.com/stephenseo/static/'%20relPath%20'search/mag_sel.svg?a=commitdiff_plain;h=6d95f5b00edb4803ad18214aa690b170965e24fa;p=LudumDare45_StartWithNothing Modify wasm Makefile --- 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