This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1 in repository tor-browser.
commit 7bc9870f73c69fe798c5556c8128d4f436d156f2 Author: Emilio Cobos Álvarez emilio@crisal.io AuthorDate: Fri Feb 4 13:53:28 2022 +0000
Bug 1753402 - Disable untagged union in Gecko profiler bindings. r=canaltinova, a=RyanVM
We don't use unions in the bindings, and rust is very picky with what you can put on untagged unions, so disable them for now.
Differential Revision: https://phabricator.services.mozilla.com/D137837 --- tools/profiler/rust-api/build.rs | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/profiler/rust-api/build.rs b/tools/profiler/rust-api/build.rs index c10528262c1b4..794eea846cdbe 100644 --- a/tools/profiler/rust-api/build.rs +++ b/tools/profiler/rust-api/build.rs @@ -69,6 +69,7 @@ fn generate_bindings() { let mut builder = Builder::default() .enable_cxx_namespaces() .with_codegen_config(CodegenConfig::TYPES | CodegenConfig::VARS | CodegenConfig::FUNCTIONS) + .disable_untagged_union() .size_t_is_usize(true);
for dir in SEARCH_PATHS.iter() {