From 4991d08bc69f3151ccb55c74e59792910f0776ca Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sat, 18 Feb 2023 16:40:21 +0100 Subject: [PATCH] Remove incorrect check in lib_call --- src/abi/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/abi/mod.rs b/src/abi/mod.rs index 2ed2dc84bc8..a713fd6814f 100644 --- a/src/abi/mod.rs +++ b/src/abi/mod.rs @@ -119,9 +119,7 @@ pub(crate) fn lib_call( returns: Vec, 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()