[all-commits] [llvm/llvm-project] b4ebf2: [WebAssembly] Disable running `wasm-opt` on compon...

Alex Crichton via All-commits all-commits at lists.llvm.org
Tue Jul 23 07:52:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4ebf2d2872e28883ac654dec5414cb3a565fa17
      https://github.com/llvm/llvm-project/commit/b4ebf2d2872e28883ac654dec5414cb3a565fa17
  Author: Alex Crichton <alex at alexcrichton.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp

  Log Message:
  -----------
  [WebAssembly] Disable running `wasm-opt` on components (#98373)

This commit adds a check that disables `wasm-opt` for the
`wasm32-wasip2` target because `wasm-opt` doesn't support components at
this time. This also fixes a minor issue from #95208 where if `wasm-opt`
was disabled then the linker wouldn't run at all.



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