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:
Mike Hommey 2022-12-02 01:35:56 +00:00
parent 4a23819d11
commit e983dbb51d

View File

@ -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();