This commit is contained in:
bjorn3 2024-09-23 11:28:15 +00:00
parent 9456ff13c9
commit 6b042f5b5d
2 changed files with 5 additions and 8 deletions

View File

@ -6,9 +6,9 @@ use crate::path::{Dirs, RelPath};
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,

View File

@ -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]
}); });
} }