Skip to content

Commit 7b49f62

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 45eb978 commit 7b49f62

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
@@ -29,6 +29,7 @@ SRC_URI += "\
2929
file://0012-Revert-Allow-and-use-std-hardware_destructive_interf.patch \
3030
file://0013-Revert-Set-Rust-symbol-visibility-to-hidden-when-C-s.patch \
3131
file://0014-pdfium-Fix-missing-PDFiumAPIStringBufferAdapter-temp.patch \
32+
file://0015-Revert-Connect-the-Rust-log-crate-to-the-base-loggin.patch \
3233
"
3334
# ARM/AArch64-specific patches.
3435
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)