summaryrefslogtreecommitdiffstats
path: root/cmake/QtWasmHelpers.cmake
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2022-04-12 12:44:28 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2022-04-13 00:26:09 +0000
commit28e0c938bfabf582f2650d9ab1bc6190a2783a6e (patch)
tree10a1bdb3d5625973dd088f67775e324f4b82a008 /cmake/QtWasmHelpers.cmake
parent311d29d2261a7e0689340c4c1322138f8234da7b (diff)
wasm: remove SAFE_HEAP=1
This adds significant run-time overhead and should not be on by default. Pick-to: 6.3 Change-Id: I33d312e31bd714f696d8acf2066eb4b285ff04af Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'cmake/QtWasmHelpers.cmake')
-rw-r--r--cmake/QtWasmHelpers.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/QtWasmHelpers.cmake b/cmake/QtWasmHelpers.cmake
index e40bc94265..47af621861 100644
--- a/cmake/QtWasmHelpers.cmake
+++ b/cmake/QtWasmHelpers.cmake
@@ -65,7 +65,6 @@ function (qt_internal_setup_wasm_target_properties wasmTarget)
"SHELL:-s DEMANGLE_SUPPORT=1"
"SHELL:-s GL_DEBUG=1"
"SHELL:-s ASSERTIONS=2"
- "SHELL:-s SAFE_HEAP=1"
--profiling-funcs>)
# target_link_options("${wasmTarget}" INTERFACE "SHELL:-s LIBRARY_DEBUG=1") # print out library calls, verbose