Fix clang-14 / GNU ld interaction for target_clones

This commit is contained in:
Arseny Kapoulkine 2022-10-27 17:47:14 -07:00
parent b4b125c727
commit a6cbb0f65c

View file

@ -34,7 +34,7 @@ inline bool luai_vecisnan(const float* a)
}
LUAU_FASTMATH_BEGIN
LUAU_DISPATCH_SSE41
// TODO: LUAU_DISPATCH_SSE41 would be nice here, but clang-14 doesn't support it correctly on inline functions...
inline double luai_nummod(double a, double b)
{
return a - floor(a / b) * b;