diff options
author | Andy Wingo <wingo@pobox.com> | 2023-06-22 09:14:09 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2023-06-22 20:11:29 +0200 |
commit | 018c5b9ad9c29183075f5f37e4f01081002e3e98 (patch) | |
tree | 212e74b74dfd773db4fb64c9e34f64ef8171112e | |
parent | d2784ea1af341608361f61db9c06ccfd2722b921 (diff) | |
download | guile-018c5b9ad9c29183075f5f37e4f01081002e3e98.tar.gz |
Add wasm32 and wasm64 CPU types
* module/system/base/target.scm (cpu-endianness): wasm targets are
little-endian.
-rw-r--r-- | module/system/base/target.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/system/base/target.scm b/module/system/base/target.scm index cc4c23654..562bf7b51 100644 --- a/module/system/base/target.scm +++ b/module/system/base/target.scm @@ -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")) |