Rustfmt
This commit is contained in:
parent
9456ff13c9
commit
6b042f5b5d
@ -6,9 +6,9 @@
|
|||||||
use crate::prepare::apply_patches;
|
use crate::prepare::apply_patches;
|
||||||
use crate::rustc_info::{get_default_sysroot, get_file_name};
|
use crate::rustc_info::{get_default_sysroot, get_file_name};
|
||||||
use crate::utils::{
|
use crate::utils::{
|
||||||
ensure_empty_dir, spawn_and_wait, try_hard_link, CargoProject, Compiler, LogGroup,
|
CargoProject, Compiler, LogGroup, ensure_empty_dir, spawn_and_wait, try_hard_link,
|
||||||
};
|
};
|
||||||
use crate::{config, CodegenBackend, SysrootKind};
|
use crate::{CodegenBackend, SysrootKind, config};
|
||||||
|
|
||||||
pub(crate) fn build_sysroot(
|
pub(crate) fn build_sysroot(
|
||||||
dirs: &Dirs,
|
dirs: &Dirs,
|
||||||
|
@ -561,12 +561,9 @@ pub(super) fn codegen_simd_intrinsic_call<'tcx>(
|
|||||||
(sym::simd_round, types::F64) => "round",
|
(sym::simd_round, types::F64) => "round",
|
||||||
_ => unreachable!("{:?}", intrinsic),
|
_ => unreachable!("{:?}", intrinsic),
|
||||||
};
|
};
|
||||||
fx.lib_call(
|
fx.lib_call(name, vec![AbiParam::new(lane_ty)], vec![AbiParam::new(lane_ty)], &[
|
||||||
name,
|
lane,
|
||||||
vec![AbiParam::new(lane_ty)],
|
])[0]
|
||||||
vec![AbiParam::new(lane_ty)],
|
|
||||||
&[lane],
|
|
||||||
)[0]
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user