diff options
author | Cheng Shao <astrohavoc@gmail.com> | 2022-10-21 13:43:40 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-11-11 00:26:55 -0500 |
commit | df7bfef8f72bb32663d3828bf096587525f09335 (patch) | |
tree | 93eb162e317d936659d33af1bcc0db3131a5eb56 /m4/ghc_convert_os.m4 | |
parent | 3633a5f5b001c3519b78c956cff4657f5ddde445 (diff) | |
download | haskell-df7bfef8f72bb32663d3828bf096587525f09335.tar.gz |
Add support for the wasm32-wasi target tuple
This patch adds the wasm32-wasi tuple support to various places in the
tree: autoconf, hadrian, ghc-boot and also the compiler. The codegen
logic will come in subsequent commits.
Diffstat (limited to 'm4/ghc_convert_os.m4')
-rw-r--r-- | m4/ghc_convert_os.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/ghc_convert_os.m4 b/m4/ghc_convert_os.m4 index dbced12850..b104549b77 100644 --- a/m4/ghc_convert_os.m4 +++ b/m4/ghc_convert_os.m4 @@ -46,6 +46,9 @@ AC_DEFUN([GHC_CONVERT_OS],[ nto-qnx*) $3="nto-qnx" ;; + wasi) + $3="wasi" + ;; *) echo "Unknown OS $1" exit 1 |