Skip to content

Commit 00ee3b6

Browse files
committed
chromium: [PATCH] Disable Rust log crate bindgen
This reverts chromium commit 7ea0a5e831dd5 ("Connect the Rust log crate to the //base logging implementation". The above commit enabled bindgen for the Rust logger. Similar to patch 0011-Disable-crabbyavif-to-fix-build-errors.patch added in commit [0], this fixes a build error that's most likely because the way upstream configures bindgen makes it incompatible with our cross-architecture builds. ``` | FAILED: gen/base/logging_rust_log_integration_bindgen_generator/bindings.rs | [...] | panicked at bindgen-cli/main.rs:52:36: | Unable to generate bindings: ClangDiagnostic("error: unsupported option '-mbranch-protection=' for target 'x86_64-unknown-linux-gnu'\n") ``` [0] meta-browser commit fd347dc ("chromium: Update to 127.0.6533.99") Signed-off-by: Ariel D'Alessandro <[email protected]>
1 parent 9e5ee27 commit 00ee3b6

File tree

2 files changed

+489
-0
lines changed

2 files changed

+489
-0
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SRC_URI += "\
3030
file://0013-build-config-compiler-BUILD.gn-Disable-CREL.patch \
3131
file://0014-Revert-Set-Rust-symbol-visibility-to-hidden-when-C-s.patch \
3232
file://0015-pdfium-Fix-missing-PDFiumAPIStringBufferAdapter-temp.patch \
33+
file://0016-Revert-Connect-the-Rust-log-crate-to-the-base-loggin.patch \
3334
"
3435
# ARM/AArch64-specific patches.
3536
SRC_URI:append:aarch64 = "${@bb.utils.contains('TUNE_FEATURES', 'crypto', '', ' file://arm/0001-Fix-AES-crypto-SIGILL-on-rpi4-64.patch', d)}"

0 commit comments

Comments
 (0)