diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-12-12 21:42:10 -0600 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-12-12 21:42:10 -0600 |
commit | cee8f1a786cb7e7cfc090091da6fbe0eb93bf595 (patch) | |
tree | d680b11bfa16932df7fd3d3f636f41162a667c29 /modules/raycast | |
parent | 4828ac6b9931ee2ea606cf47c68604b1a2b2d3ed (diff) |
Improve architecture support logic in Raycast module
Diffstat (limited to 'modules/raycast')
-rw-r--r-- | modules/raycast/config.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/modules/raycast/config.py b/modules/raycast/config.py index f4243f01c5..26329d813a 100644 --- a/modules/raycast/config.py +++ b/modules/raycast/config.py @@ -1,13 +1,11 @@ def can_build(env, platform): # Supported architectures depend on the Embree library. - # No ARM32 support planned. - if env["arch"] == "arm32": - return False + if env["arch"] in ["x86_64", "arm64", "wasm32"]: + return True # 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 + if env["arch"] == "x86_32" and platform == "windows": + return True + return False def configure(env): |