summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-15 15:31:10 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-15 15:33:39 +0200
commit74315862869b9ba8d3e63f13f3cc3b9c7f386ee3 (patch)
tree778af990e39338201bf4d8c62fdfe92d2f98ce93
parent3d8acc7a54d8c2c261c3ce3c1c1022f4641985de (diff)
[HTML5] Make threads build the default.
Non-threads build are broken anyway.
-rw-r--r--platform/javascript/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/detect.py b/platform/javascript/detect.py
index dacc442575..173b558b6d 100644
--- a/platform/javascript/detect.py
+++ b/platform/javascript/detect.py
@@ -38,7 +38,7 @@ def get_opts():
BoolVariable("use_safe_heap", "Use Emscripten SAFE_HEAP sanitizer", False),
# eval() can be a security concern, so it can be disabled.
BoolVariable("javascript_eval", "Enable JavaScript eval interface", True),
- BoolVariable("threads_enabled", "Enable WebAssembly Threads support (limited browser support)", False),
+ BoolVariable("threads_enabled", "Enable WebAssembly Threads support (limited browser support)", True),
BoolVariable("gdnative_enabled", "Enable WebAssembly GDNative support (produces bigger binaries)", False),
BoolVariable("use_closure_compiler", "Use closure compiler to minimize JavaScript code", False),
]