-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for c_variadic_int128 #155752
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(c_variadic_int128)]This is a tracking issue for the
VaArgSafeimplementations on 128-bit integers.These implementations are only available on targets where
clangdefines__int128.GCC does not implement
__int128for any 16-bit/32-bit target:https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/_005f_005fint128.html
Per https://learn.microsoft.com/en-us/cpp/cpp/data-type-ranges?view=msvc-170, MSVC does not
define
__int128.Clang is slightly more permissive: it defines
__int128on wasm32 (a 32-bit target) and alsodoes provide
__int128on 64-bit*-pc-windows-msvc, and we follow suit.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)u128/i128c-variadic arguments #155429Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩