Godot Engine – Multi-platform 2D and 3D game engine
Revert "SCons: Enable `wasm64` support on web builds"
Rémi Verschelde7b6c81264de0
diff --git a/.github/workflows/web_builds.yml b/.github/workflows/web_builds.ymlindex dd7490eeaef..11c2f9e56e5 100644--- a/.github/workflows/web_builds.yml+++ b/.github/workflows/web_builds.yml@@ -20,16 +20,16 @@ jobs:fail-fast: falsematrix:include:- - name: Template w/ threads, 64-bit (target=template_release, threads=yes, arch=wasm64)+ - name: Template w/ threads (target=template_release, threads=yes)cache-name: web-templatetarget: template_release- scons-flags: threads=yes arch=wasm64+ scons-flags: threads=yesartifact: true- - name: Template w/o threads, 32-bit (target=template_release, threads=no, arch=wasm32)+ - name: Template w/o threads (target=template_release, threads=no)cache-name: web-nothreads-templatetarget: template_release- scons-flags: threads=no arch=wasm32+ scons-flags: threads=noartifact: truesteps:diff --git a/platform/web/detect.py b/platform/web/detect.pyindex fb7c20f4c74..25f68b4052a 100644--- a/platform/web/detect.py+++ b/platform/web/detect.py@@ -124,7 +124,7 @@ def configure(env: "SConsEnvironment"):env["EXPORTED_RUNTIME_METHODS"] = []# Validate arch.- supported_arches = ["wasm32", "wasm64"]+ supported_arches = ["wasm32"]validate_arch(env["arch"], get_name(), supported_arches)try:@@ -300,8 +300,6 @@ def configure(env: "SConsEnvironment"):env.extra_suffix = ".dlink" + env.extra_suffixenv.Append(LINKFLAGS=["-sWASM_BIGINT"])- env.Append(CCFLAGS=[f"-sMEMORY64={0 if env['arch'] == 'wasm32' else 1}"])- env.Append(LINKFLAGS=[f"-sMEMORY64={0 if env['arch'] == 'wasm32' else 1}"])# Run the main application in a web workerif env["proxy_to_pthread"]:diff --git a/platform_methods.py b/platform_methods.pyindex b10b1d7fe7c..983003dd978 100644--- a/platform_methods.py+++ b/platform_methods.py@@ -17,7 +17,7 @@ compatibility_platform_aliases = {}# CPU architecture options.-architectures = ["x86_32", "x86_64", "arm32", "arm64", "rv64", "ppc64", "wasm32", "wasm64", "loongarch64"]+architectures = ["x86_32", "x86_64", "arm32", "arm64", "rv64", "ppc64", "wasm32", "loongarch64"]architecture_aliases = {"x86": "x86_32","x64": "x86_64",