[libc] [clang-tools-extra] [openmp] [libcxx] [compiler-rt] [lldb] [mlir] [llvm] [lld] [flang] [clang] [Driver] Report invalid target triple versions for all environment types. (PR #78655)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 15:56:01 PST 2024


MaskRay wrote:

> > There's apparently also wasm32-wasi-preview2 and wasm32-wasi-pthread, which I suppose are equally broken by this change.
> 
> Yes, I think so. I think adding these environment types in wasi-libc repo could help fix those errors.

If wasm can arbitrary environment types, it seems that we can opt out the check for `isWasm()`.
We define new environment types when they affect the compiler behavior. If wasm arbitrary sets the environment, we should not define a type for each one.


https://github.com/llvm/llvm-project/pull/78655


More information about the llvm-commits mailing list