Skip to content

C interop: f80, f128 and c_longdouble #701

Description

@nxsaken
Metadata
Point of contact @folkertdev
Team(s) compiler, lang, libs-api
Goal document 2026/interop-f80-f128

Summary

Rust should be able to define an ABI-compatible counterpart to every signature that C can define. This is important for C interop and translation of code from C to rust, using manual FFI, and tooling like c-bindgen and c2rust. This goal closes a long-standing gap in rust's ability to match C.

Tasks and status


Note: we have updated the body to match the 2026 goal. Your original text is preserved below.

Details

Metadata
Point of contact @folkertdev
Team(s) compiler, lang, libs-api
Goal document 2026/interop-f80-f128

Summary

Rust should be able to define an ABI-compatible counterpart to every signature that C can define. This is important for C interop and translation of code from C to rust, using manual FFI, and tooling like c-bindgen and c2rust. This goal closes a long-standing gap in rust's ability to match C.

Tasks and status

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions