Skip to content

Commit 6b042f5

Browse files
committed
Rustfmt
1 parent 9456ff1 commit 6b042f5

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

compiler/rustc_codegen_cranelift/build_system/build_sysroot.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ use crate::path::{Dirs, RelPath};
66
use crate::prepare::apply_patches;
77
use crate::rustc_info::{get_default_sysroot, get_file_name};
88
use crate::utils::{
9-
ensure_empty_dir, spawn_and_wait, try_hard_link, CargoProject, Compiler, LogGroup,
9+
CargoProject, Compiler, LogGroup, ensure_empty_dir, spawn_and_wait, try_hard_link,
1010
};
11-
use crate::{config, CodegenBackend, SysrootKind};
11+
use crate::{CodegenBackend, SysrootKind, config};
1212

1313
pub(crate) fn build_sysroot(
1414
dirs: &Dirs,

compiler/rustc_codegen_cranelift/src/intrinsics/simd.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,9 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
561561
(sym::simd_round, types::F64) => "round",
562562
_ => unreachable!("{:?}", intrinsic),
563563
};
564-
fx.lib_call(
565-
name,
566-
vec![AbiParam::new(lane_ty)],
567-
vec![AbiParam::new(lane_ty)],
568-
&[lane],
569-
)[0]
564+
fx.lib_call(name, vec![AbiParam::new(lane_ty)], vec![AbiParam::new(lane_ty)], &[
565+
lane,
566+
])[0]
570567
});
571568
}
572569

0 commit comments

Comments
 (0)