firefox/mozilla-1753402.patch
Martin Stransky 16e6b6b266 -m
2022-02-08 12:42:36 +01:00

13 lines
463 B
Diff

diff --git a/tools/profiler/rust-api/build.rs b/tools/profiler/rust-api/build.rs
--- a/tools/profiler/rust-api/build.rs
+++ b/tools/profiler/rust-api/build.rs
@@ -61,6 +61,7 @@
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() {