[clang] [WebAssembly] Change the default linker for `wasm32-wasip2` (PR #84569)

2024-03-22 Thread Cheng Shao via cfe-commits
TerrorJack wrote: @alexcrichton This is breaking `wasi-sdk` build with: ``` /workspace/wasi-sdk/build/install/opt/wasi-sdk/bin/clang --target=wasm32-wasip2 -nodefaultlibs -shared --sysroot=/workspace/wasi-sdk/build/install/opt/wasi-sdk/share/wasi-sysroot \ -o

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

2024-02-06 Thread Cheng Shao via cfe-commits
TerrorJack wrote: FYI this change breaks `wasi-sdk`/`wasi-libc` build with: ``` clang: error: version 'preview2' in target triple 'wasm32-unknown-wasi-preview2' is invalid ``` https://github.com/llvm/llvm-project/pull/78655 ___ cfe-commits mailing