rust/library/core/src/ffi
Jubilee Young 050595a826 core: VaArgSafe is an unsafe trait
`T: VaArgSafe` is relied on for soundness. Safe impls promise nothing.
Therefore this must be an unsafe trait. Slightly pedantic, as
only core can impl this, but we could choose to unseal the trait.
That would allow soundly (but unsafely) implementing this for e.g.
a `#[repr(C)] struct` that should be passable by varargs.
2024-06-24 20:40:33 -07:00
..
c_char.md Temporarily make CStr not a link in the c_char docs 2022-03-01 17:36:40 -08:00
c_double.md Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
c_float.md Fix naming format of IEEE 754 standard 2022-09-11 04:13:33 +02:00
c_int.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_long.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_longlong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_schar.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_short.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_str.rs update intrinsic const param counting 2024-06-21 09:23:54 +00:00
c_uchar.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_uint.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ulong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ulonglong.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_ushort.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
c_void.md Provide C FFI types via core::ffi, not just in std 2022-03-01 17:16:05 -08:00
mod.rs core: VaArgSafe is an unsafe trait 2024-06-24 20:40:33 -07:00