diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2024-12-11 13:43:37 -0500 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2024-12-11 13:43:53 -0500 |
| commit | 1ef84a062652a49a5541bfa5ea52345a248de5ef (patch) | |
| tree | e173d9d274122a11740a9eed2e415e2d3612f663 | |
| parent | 6b252058e69c81a94f655551a47fb53f14889b6c (diff) | |
| download | rust-1ef84a062652a49a5541bfa5ea52345a248de5ef.tar.gz rust-1ef84a062652a49a5541bfa5ea52345a248de5ef.zip | |
Fix formatting
| -rw-r--r-- | build_system/src/utils.rs | 2 | ||||
| -rw-r--r-- | src/abi.rs | 1 | ||||
| -rw-r--r-- | src/gcc_util.rs | 8 |
3 files changed, 5 insertions, 6 deletions
diff --git a/build_system/src/utils.rs b/build_system/src/utils.rs index e338d1b4992..401c23948e5 100644 --- a/build_system/src/utils.rs +++ b/build_system/src/utils.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; +use std::ffi::OsStr; #[cfg(unix)] use std::ffi::c_int; -use std::ffi::OsStr; use std::fmt::Debug; use std::fs; #[cfg(unix)] diff --git a/src/abi.rs b/src/abi.rs index 3e06720f87f..14fc23593f0 100644 --- a/src/abi.rs +++ b/src/abi.rs @@ -4,7 +4,6 @@ use gccjit::{ToLValue, ToRValue, Type}; use rustc_codegen_ssa::traits::{AbiBuilderMethods, BaseTypeCodegenMethods}; use rustc_data_structures::fx::FxHashSet; use rustc_middle::bug; -use rustc_middle::ty::layout::LayoutOf; use rustc_middle::ty::Ty; use rustc_middle::ty::layout::LayoutOf; #[cfg(feature = "master")] diff --git a/src/gcc_util.rs b/src/gcc_util.rs index 17bb1b4ca0b..65279c9495a 100644 --- a/src/gcc_util.rs +++ b/src/gcc_util.rs @@ -39,10 +39,10 @@ pub(crate) fn global_gcc_features(sess: &Session, diagnostics: bool) -> Vec<Stri // Features implied by an implicit or explicit `--target`. features.extend( sess.target - .features - .split(',') - .filter(|v| !v.is_empty() && backend_feature_name(v).is_some()) - .map(String::from), + .features + .split(',') + .filter(|v| !v.is_empty() && backend_feature_name(v).is_some()) + .map(String::from), ); // -Ctarget-features |
