summaryrefslogtreecommitdiff
path: root/modules/raycast/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/raycast/config.py')
-rw-r--r--modules/raycast/config.py17
1 files changed, 6 insertions, 11 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py
index 7e8b3e9840..f4243f01c5 100644
--- a/modules/raycast/config.py
+++ b/modules/raycast/config.py
@@ -1,17 +1,12 @@
def can_build(env, platform):
- # Depends on Embree library, which only supports x86_64 and aarch64.
- if env["arch"].startswith("rv") or env["arch"].startswith("ppc"):
+ # Supported architectures depend on the Embree library.
+ # No ARM32 support planned.
+ if env["arch"] == "arm32":
return False
-
- if platform == "android":
- return env["android_arch"] in ["arm64v8", "x86_64"]
-
- if platform == "javascript":
- return False # No SIMD support yet
-
- if env["bits"] == "32":
+ # x86_32 only seems supported on Windows for now.
+ if env["arch"] == "x86_32" and platform != "windows":
return False
-
+ # The rest works, even wasm32!
return True