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>
This commit is contained in:
Morten Sørvig 2022-04-12 12:44:28 +02:00 committed by Morten Johan Sørvig
parent 311d29d226
commit 28e0c938bf

View File

@ -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