Skip to content

Commit 61924cd

Browse files
authored
[emscripten] Don't use -sSINGLE_FILE by default (#7985)
Its good to have an option for this by I don't see why it should be the default.
1 parent 4162cc8 commit 61924cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ option(EMSCRIPTEN_ENABLE_WASM64 "Enable memory64 in emscripten build" OFF)
8181
# Turn this on to use pthreads feature in the wasm/BinaryenJS builds
8282
option(EMSCRIPTEN_ENABLE_PTHREADS "Enable pthreads in emscripten build" OFF)
8383

84-
# Turn this off to generate a separate .wasm file instead of packaging it into the JS.
85-
# This is useful for debugging, performance analysis, and other testing.
86-
option(EMSCRIPTEN_ENABLE_SINGLE_FILE "Enable SINGLE_FILE mode in emscripten build" ON)
84+
# Turn this on to generate a single .js file with the Wasm file embedded within
85+
# it. This is useful for packaging and distrubting binaryen as a single file.
86+
option(EMSCRIPTEN_ENABLE_SINGLE_FILE "Enable SINGLE_FILE mode in emscripten build" OFF)
8787

8888
option(ENABLE_WERROR "Enable -Werror" ON)
8989

0 commit comments

Comments
 (0)