about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorCohenArthur <arthur.cohen@epita.fr>2020-08-28 12:23:01 +0200
committerCohenArthur <arthur.cohen@epita.fr>2020-08-28 12:23:01 +0200
commited35bc8414f3b78c3f9a9bda221d8a750bd99476 (patch)
treee90af999a67e09d5734c91feb66719ac6aa8a85d /src
parent9c848e19057fd3460bf703687ad371785032bac8 (diff)
fmt: Skip src/target_features_whitelist.rs
Diffstat (limited to 'src')
-rw-r--r--src/target_features_whitelist.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/target_features_whitelist.rs b/src/target_features_whitelist.rs
index a5d9b5e751a..6fd032b4324 100644
--- a/src/target_features_whitelist.rs
+++ b/src/target_features_whitelist.rs
@@ -1,3 +1,5 @@
+#[rustfmt::skip]
+
 use rustc_span::symbol::{sym, Symbol};
 
 use rustc_session::Session;
@@ -107,10 +109,8 @@ const POWERPC_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("vsx", Some(sym::powerpc_target_feature)),
 ];
 
-const MIPS_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
-    ("fp64", Some(sym::mips_target_feature)),
-    ("msa", Some(sym::mips_target_feature)),
-];
+const MIPS_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] =
+    &[("fp64", Some(sym::mips_target_feature)), ("msa", Some(sym::mips_target_feature))];
 
 const RISCV_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("m", Some(sym::riscv_target_feature)),