Skip to content

Add c_longdouble#140417

Draft
tgross35 wants to merge 1 commit intorust-lang:mainfrom
tgross35:c-longdouble
Draft

Add c_longdouble#140417
tgross35 wants to merge 1 commit intorust-lang:mainfrom
tgross35:c-longdouble

Conversation

@tgross35
Copy link
Copy Markdown
Contributor

We don't have all the types needed to actually provide this, so for now this is only a reference. Most of the links in the c_char definition apply here:

For everything else, try to match Clang.

Some scratch https://godbolt.org/z/YrYKshMMa

r? @ghost

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Apr 28, 2025
@mati865
Copy link
Copy Markdown
Member

mati865 commented Apr 29, 2025

At least 32-bit (dunno about 64-bit) C windows-gnu toolchains use 80 bits for long double, unless -mlong-double-64 is provided.

@Dylan-DPC Dylan-DPC added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 17, 2025
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 1, 2026

☔ The latest upstream changes (presumably #154668) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants