gecko-unbreak-wasi-sdk-20-clang.patch raw

   1  diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolchain.configure
   2  index b2192e406678..0b1638b6cf8e 100644
   3  --- a/build/moz.configure/toolchain.configure
   4  +++ b/build/moz.configure/toolchain.configure
   5  @@ -1665,9 +1665,9 @@ def compiler(
   6           # This version can be no higher than the version used in
   7           # src/bootstrap/src/core/build_steps/llvm.rs's check_llvm_version in the source
   8           # code of the minimum supported Rust version.
   9  -        if info.type in ("clang", "clang-cl") and info.version < "17.0":
  10  +        if info.type in ("clang", "clang-cl") and info.version < "16.0":
  11               raise FatalCheckError(
  12  -                "Only %s 17.0 or newer is supported (found version %s)."
  13  +                "Only %s 16.0 or newer is supported (found version %s)."
  14                   % (("clang/llvm" if info.type == "clang" else "clang-cl"), info.version)
  15               )
  16   
  17