tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

0015.patch (1105B)


      1 From: Michael Froman <mfroman@mozilla.com>
      2 Date: Mon, 7 Jul 2025 20:46:00 -0500
      3 Subject: Bug 1974813 - (fix-373e84d10) disable
      4 'clang_lib("compiler_builtins")' target
      5 
      6 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/cf812ff032ed58f1b396d24bde810b127dd24907
      7 ---
      8 config/clang/BUILD.gn | 5 +++++
      9 1 file changed, 5 insertions(+)
     10 
     11 diff --git a/config/clang/BUILD.gn b/config/clang/BUILD.gn
     12 index 0d648fa31..beb81db98 100644
     13 --- a/config/clang/BUILD.gn
     14 +++ b/config/clang/BUILD.gn
     15 @@ -252,6 +252,10 @@ template("clang_lib") {
     16 
     17 # Adds a dependency on the Clang runtime library clang_rt.builtins.
     18 clang_lib("compiler_builtins") {
     19 +# Mozilla: in the past, this checked for !toolchain_has_rust, and
     20 +# effectively made this section a no-op.  We'll make it a definite
     21 +# no-op.  Without this, we see errors during generation.
     22 +if (false) {
     23   if (is_mac) {
     24     libname = "osx"
     25   } else if (is_ios) {
     26 @@ -280,6 +284,7 @@ clang_lib("compiler_builtins") {
     27     libname = "builtins"
     28   }
     29 }
     30 +}
     31 
     32 # Adds a dependency on the Clang runtime library clang_rt.profile.
     33 clang_lib("compiler_profile") {