Open
Description
This is a meta issue tracking rustc bugs and features that impact bindgen.
Appropriate things to list here would be either
- RFCs proposing some feature that bindgen can leverage to emit better bindings, or
- issues detailing rustc bugs we need fixed as a prerequisite to fixing bugs in our emitted bindings, or
- pull requests adding new features that enable us to emit new kinds of bindings we haven't been able to before.
Extern types: Tracking issue for RFC 1861: Extern types rust#43467
Support for
thiscall
calling convention Tracking issue for thethiscall
calling convention rust#42202Support for the System V AMD64 C++ ABI Tracking issue for "sysv64" calling convention rust#36167
Support for placement new Tracking issue for placement new rust#27779
#[repr(transparent)]
Tracking issue for RFC 1758: Specifyrepr(transparent)
rust#43036const generics Tracking issue for const generics (RFC 2000) rust#44580
- Emitting or deriving trait implementations #886 Drop logic of the "manual" implementation of traits for arrays which size is more than 32.
- Handle non-type template parameters (const dependent type parameters) #362 Handle non-type template parameters
Activity
[-][meta] Tracking rustc bugs/features/RFCs that affect bindgen[/-][+]Tracking rustc bugs/features/RFCs that affect bindgen[/+]CensoredUsername commentedon Dec 8, 2017
FYI: the system V AMD64 ABI will be stabilized in rustc 1.24
fitzgen commentedon Dec 8, 2017
Thanks for the heads up!
fitzgen commentedon Feb 1, 2018
As @upsuper pointed out, it looks like
repr(align = "N")
is being stabilized: rust-lang/rust#47006I'm not sure what version it will hit stable in.
pravic commentedon Apr 7, 2018
From the PR:
Dr-Emann commentedon Oct 24, 2018
As of Rust 1.28,
#[repr(transparent)
is stable.LegNeato commentedon Jan 8, 2019
As of Rust 1.33,
#[repr(packed(N))]
is stable.