mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
style: Remove explicit rust target for bindgen in stylo
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
11313368ac
commit
1a04ce81a6
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue