mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 1803702 - Remove explicit rust target for bindgen in stylo. r=emilio
This doesn't seem necessary anymore. It was originally added to disable unions, which is now done with disable_untagged_union. Differential Revision: https://phabricator.services.mozilla.com/D163662
This commit is contained in:
parent
4a23819d11
commit
e983dbb51d
@ -121,12 +121,9 @@ trait BuilderExt {
|
||||
|
||||
impl BuilderExt for Builder {
|
||||
fn get_initial_builder() -> Builder {
|
||||
use bindgen::RustTarget;
|
||||
|
||||
// Disable rust unions, because we replace some types inside of
|
||||
// them.
|
||||
let mut builder = Builder::default()
|
||||
.rust_target(RustTarget::Stable_1_25)
|
||||
.size_t_is_usize(true)
|
||||
.disable_untagged_union();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user