mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
style: Update the Rust target version for bindgen.
This brings us alignas support and also associated constants for bitfield enums. Differential Revision: https://phabricator.services.mozilla.com/D15334
This commit is contained in:
parent
8a6230e5a2
commit
8929087d83
7 changed files with 26 additions and 40 deletions
|
@ -139,7 +139,9 @@ mod bindings {
|
|||
|
||||
// Disable rust unions, because we replace some types inside of
|
||||
// them.
|
||||
let mut builder = Builder::default().rust_target(RustTarget::Stable_1_0);
|
||||
let mut builder = Builder::default()
|
||||
.rust_target(RustTarget::Stable_1_25)
|
||||
.disable_untagged_union();
|
||||
|
||||
let rustfmt_path = env::var_os("RUSTFMT")
|
||||
// This can be replaced with
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue