1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-19 19:20:23 +02:00

Add wasm32 and wasm64 CPU types

* module/system/base/target.scm (cpu-endianness): wasm targets are
little-endian.
This commit is contained in:
Andy Wingo 2023-06-22 09:14:09 +02:00
parent d2784ea1af
commit 018c5b9ad9

View file

@ -84,7 +84,9 @@
(cond ((string-match "^i[0-9]86$" cpu)
(endianness little))
((member cpu '("x86_64" "ia64"
"powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha" "arc"))
"powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2"
"sh3" "sh4" "alpha" "arc"
"wasm32" "wasm64"))
(endianness little))
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
"mips" "mips64" "m68k" "s390x"))