summaryrefslogtreecommitdiff
path: root/mozilla-1753402.patch
blob: e53e73ba1b0c8bb4a71ec65f927974334b56d2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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() {

bgstack15