diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-11-11 19:08:35 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-11-11 19:08:35 -0500 |
commit | a6aeb8761aaa1b43cefca8cc306a1d45f311a34f (patch) | |
tree | 51244716a243c2de692d6f29ab091befb47bc8a6 /www-client/chromium/files | |
parent | 8de702f1aeaa1701c2507f3aee04309f18de3c15 (diff) | |
download | ppo-a6aeb8761aaa1b43cefca8cc306a1d45f311a34f.tar.xz |
Trying to make it work with non-nightly rust compiler.
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-132-compiler.patch | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/www-client/chromium/files/chromium-132-compiler.patch b/www-client/chromium/files/chromium-132-compiler.patch index 65a24d8..f9cd8e3 100644 --- a/www-client/chromium/files/chromium-132-compiler.patch +++ b/www-client/chromium/files/chromium-132-compiler.patch @@ -1,5 +1,5 @@ diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn -index cb9bf8772d..9d459df611 100644 +index cb9bf8772d..9e36a487ba 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -309,9 +309,6 @@ config("compiler") { @@ -107,6 +107,15 @@ index cb9bf8772d..9d459df611 100644 ] if (!is_win || force_rustc_color_output) { +@@ -1107,7 +1036,7 @@ config("compiler") { + # Don't allow unstable features to be enabled by `#![feature()]` without + # additional command line flags. + config("disallow_unstable_features") { +- rustflags = [ "-Zallow-features=" ] ++ #rustflags = [ "-Zallow-features=" ] + } + + config("libcxx_hardening") { @@ -1583,52 +1512,6 @@ config("compiler_deterministic") { } } @@ -319,6 +328,19 @@ index cb9bf8772d..9d459df611 100644 if (is_win) { ldflags = [ "/DEBUG" ] +diff --git a/build/config/gcc/BUILD.gn b/build/config/gcc/BUILD.gn +index a659210b19..bde0e1b273 100644 +--- a/build/config/gcc/BUILD.gn ++++ b/build/config/gcc/BUILD.gn +@@ -32,7 +32,7 @@ declare_args() { + # See http://gcc.gnu.org/wiki/Visibility + config("symbol_visibility_hidden") { + cflags = [ "-fvisibility=hidden" ] +- rustflags = [ "-Zdefault-visibility=hidden" ] ++ # rustflags = [ "-Zdefault-visibility=hidden" ] + + # Visibility attribute is not supported on AIX. + if (current_os != "aix") { diff --git a/build/config/rust.gni b/build/config/rust.gni index 5b7807a1b8..4b3acd300e 100644 --- a/build/config/rust.gni |