зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1753402 - Disable untagged union in Gecko profiler bindings. r=canaltinova
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
This commit is contained in:
Родитель
d46fcb69dc
Коммит
c2003bb3e7
|
@ -61,6 +61,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() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче