mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[Web] Require threads, rtti, allow optimize=speed.
Update export names (web[_dlink]_[release|debug].zip). The Build with dynamic linking is broken due to high number of imports in output wasm (likely emscripten regression issue 15487).
This commit is contained in:
@@ -140,26 +140,9 @@ int OS_Web::get_processor_count() const {
|
||||
}
|
||||
|
||||
bool OS_Web::_check_internal_feature_support(const String &p_feature) {
|
||||
if (p_feature == "html5" || p_feature == "web") {
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef JAVASCRIPT_EVAL_ENABLED
|
||||
if (p_feature == "web") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#ifndef NO_THREADS
|
||||
if (p_feature == "threads") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#if WASM_GDNATIVE
|
||||
if (p_feature == "wasm32") {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user