diff options
author | Andy Wingo <wingo@pobox.com> | 2023-06-22 09:14:09 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2023-08-17 14:16:12 +0200 |
commit | 78948ae594ced45e3a5cd3a7bf0c3f4397ac9b16 (patch) | |
tree | 5350f983180ae800f4aff3d443238023e51fb2f2 /module/system | |
parent | 941c757ab7cdfe029f17bc26876b9d710eea18db (diff) | |
download | guile-78948ae594ced45e3a5cd3a7bf0c3f4397ac9b16.tar.gz |
Add wasm32 and wasm64 CPU types
* module/system/base/target.scm (cpu-endianness): wasm targets are
little-endian.
Diffstat (limited to 'module/system')
-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 e845b9947..f06798789 100644 --- a/module/system/base/target.scm +++ b/module/system/base/target.scm @@ -86,7 +86,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")) |