f128 cmath functions broken in windows #133835
Labels
C-bug
Category: This is a bug.
F-f16_and_f128
`#![feature(f16)]`, `#![feature(f128)]`
O-windows
Operating system: Windows
requires-incomplete-features
This issue requires the use of incomplete features.
Under windows using #![feature(f128)] almost all of the f128 math functions cannot be compiled, it appears to be a linking error/missing symbols.
Normal math operations like add, sub, mul ect all compile and run fine but calling anything like .sin() or .gamma() or anything called under cmath will not compile. However, any of the math functions called as part of intrinsics do compile fine. This appears to be windows specific as the identical code compiles fine under wsl, both using latest rust nightly.
I have also tried using normal msvc linker link.exe and rust-lld.exe both with identical results, and also tested with gnu toolchain again with identical results.
but exact same code under wsl:
related to
#128417
#116909
The text was updated successfully, but these errors were encountered: