Manually include ubsan in emscripten builds (#220)

This commit is contained in:
Nikolas 2025-03-12 21:16:53 +01:00
parent 17a1754271
commit 03ec79ef85
No known key found for this signature in database
GPG Key ID: E95F679E3CDD9784

View File

@ -119,6 +119,7 @@ pub fn linkWithEmscripten(
"-sUSE_GLFW=3", "-sUSE_GLFW=3",
"-sASYNCIFY", "-sASYNCIFY",
"-O3", "-O3",
"-fsanitize=undefined",
"--emrun", "--emrun",
}); });
return emcc_command; return emcc_command;