mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
mach: Do not use unstable rust for rustfmt
(#31441)
We can use stable rust if we pass the unstable configuration as command-line arguments to rustfmt itself. This prevents needing to install an unstable rust toolchain. The one downside here is that it doesn't seem that "ignore" is supported so we have to start formatting the files in "third_party." This shouldn't be a huge issue because we don't plan to check much more rust code into those directories.
This commit is contained in:
parent
2afd5431b1
commit
98bd306816
7 changed files with 32 additions and 21 deletions
6
third_party/blurmac/src/framework.rs
vendored
6
third_party/blurmac/src/framework.rs
vendored
|
@ -485,6 +485,8 @@ pub mod cb {
|
|||
// CBCentralManagerScanOption...Key
|
||||
|
||||
// CBAdvertisementData...Key
|
||||
pub use self::link::CBAdvertisementDataServiceUUIDsKey as ADVERTISEMENTDATASERVICEUUIDSKEY;
|
||||
pub use self::link::CBCentralManagerScanOptionAllowDuplicatesKey as CENTRALMANAGERSCANOPTIONALLOWDUPLICATESKEY;
|
||||
pub use self::link::{
|
||||
CBAdvertisementDataServiceUUIDsKey as ADVERTISEMENTDATASERVICEUUIDSKEY,
|
||||
CBCentralManagerScanOptionAllowDuplicatesKey as CENTRALMANAGERSCANOPTIONALLOWDUPLICATESKEY,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue