diff --git a/src/build/config/clang/BUILD.gn b/src/build/config/clang/BUILD.gn index 9b8719a64b..fa9c9aabef 100644 --- a/src/build/config/clang/BUILD.gn +++ b/src/build/config/clang/BUILD.gn @@ -236,7 +236,10 @@ template("clang_lib") { # Adds a dependency on the Clang runtime library clang_rt.builtins. clang_lib("compiler_builtins") { - if (is_mac) { + if (true) { + # NaiveProxy doesn't use Rust and never links clang_rt.builtins. + # Don't define libname which makes this target do nothing. + } else if (is_mac) { libname = "osx" } else if (is_ios) { if (target_environment == "simulator") {