C2Rust appears to support __float128 / Float128 at the type-mapping level (e.g., mapping LongDouble | Float128 to an f128 type), but initialization via cast from long double fails with a translation error.
Reproducer
#include <float.h>
int main(void) {
__float128 f128_1 = 1.0L;
return 0;
}
Observed
C2Rust fails to translate main with an error similar to:
Failed to translate main: Tried casting long double to unsupported type: Float128
Environment
- c2rust version: v0.21.0
- platform:Ubuntu 24.04
C2Rust appears to support
__float128/Float128at the type-mapping level (e.g., mappingLongDouble | Float128to anf128type), but initialization via cast fromlong doublefails with a translation error.Reproducer
Observed
C2Rust fails to translate
mainwith an error similar to:Environment