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

via flang-commits flang-commits at lists.llvm.org
Mon Feb 5 16:37:28 PST 2024


ZijunZhaoCCK 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.

Okay, I will add this check.

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


More information about the flang-commits mailing list