Remove incorrect check in lib_call

This commit is contained in:
bjorn3 2023-02-18 16:40:21 +01:00
parent 90a7ee6c70
commit 4991d08bc6

View File

@ -119,9 +119,7 @@ pub(crate) fn lib_call(
returns: Vec<AbiParam>,
args: &[Value],
) -> Cow<'_, [Value]> {
if self.tcx.sess.target.is_like_windows
&& params.iter().any(|param| param.value_type == types::I128)
{
if self.tcx.sess.target.is_like_windows {
let (mut params, mut args): (Vec<_>, Vec<_>) =
params
.into_iter()