[PATCH] config.sub: Accept LLVM-style $cpu-$vendor-windows-cygnus

2023-08-16 Thread John Ericson
In 91f6a7f616b161c25ba2001861a40e662e18c4ad I supported `windows-gnu` and `windows-msvc`, but I forgot about the last one: `windows-cygnus`. This LLVM commit [1] introduced all 3. (I wish I had found it before!) But at least we can use it to ensure I am not missing one now. This came up in this

[PATCH] config.sub: add javascript-unknown-ghcjs

2023-08-16 Thread Adam Joseph
GHC has been using a custom triple "javascript-unknown-ghcjs" for their (non asm.js, non wasm) javascript-emitting kernel-less target. https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c This triple is a bit of an oddball, so the support for it is highly

[PATCH] config.sub: add javascript-unknown-ghcjs

2023-08-16 Thread Adam Joseph
GHC has been using a custom triple "javascript-unknown-ghcjs" for their (non asm.js, non wasm) javascript-emitting kernel-less target. https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c This triple is a bit of an oddball, so the support for it is highly