[all-commits] [llvm/llvm-project] 39edcf: [WebAssembly] Make WASI -threads environment behav...

R via All-commits all-commits at lists.llvm.org
Sat Mar 1 04:54:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39edcf9126ee1709753728205d2ed211aac4f7b3
      https://github.com/llvm/llvm-project/commit/39edcf9126ee1709753728205d2ed211aac4f7b3
  Author: R <rqou at berkeley.edu>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/test/Driver/wasm-toolchain.c

  Log Message:
  -----------
  [WebAssembly] Make WASI -threads environment behave as -pthread (#129164)

If the user specifies a target triple of wasm32-wasi-threads, then
enable all of the same flags as if `-pthread` were passed. This helps
prevent user error, as the whole point of selecting this target is to
gain pthread support.

The reverse does not happen (passing `-pthread` does not alter the
target triple) so as to not interfere with custom environments and/or
custom multilib setups.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list