diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6bd2b45..5590000 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -70,11 +70,11 @@ jobs: [tool_requires] *: emsdk/3.1.44 - # [conf] - # tools.build:cflags=["-fsanitize=address"] - # tools.build:cxxflags=["-fsanitize=address"] - # tools.build:exelinkflags=["-fsanitize=address"] - # tools.build:sharedlinkflags=["-fsanitize=address"] + [conf] + tools.build:cflags=["-fsanitize=address"] + tools.build:cxxflags=["-fsanitize=address"] + tools.build:exelinkflags=["-fsanitize=address"] + tools.build:sharedlinkflags=["-fsanitize=address"] EOF - name: Install Ubuntu Dependencies diff --git a/CMakeLists.txt b/CMakeLists.txt index 094c457..4bb8dbc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,8 +30,8 @@ if(SANDBOX) endif() if (${CMAKE_SYSTEM_NAME} MATCHES "Emscripten") - # target_link_libraries(${PROJECT_NAME} "--profiling") - # target_link_libraries(${PROJECT_NAME} "-s RUNTIME_DEBUG") + target_link_libraries(${PROJECT_NAME} "--profiling") + target_link_libraries(${PROJECT_NAME} "-s RUNTIME_DEBUG") target_link_libraries(${PROJECT_NAME} "-s ASSERTIONS=1") target_link_libraries(${PROJECT_NAME} "-s NO_DISABLE_EXCEPTION_CATCHING")