-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core::ffi::VaList does not pass improper_ctypes lint #58280
Comments
|
It would be fine to just special-case the |
This seems reasonable to me too. The |
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 10, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 10, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 10, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 10, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Centril
added a commit
to Centril/rust
that referenced
this issue
Mar 11, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 11, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 15, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 16, 2019
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
On x86_64, Aarch64, and PowerPC
core::ffi::VaList
will not pass theimproper_ctypes
lint, but it should.Example
Given the following:
The compiler will yield:
Description
The implementation of
VaListImpl
for the x86_64, Aarch64, and PowerPC architectures uses*mut ()
or*const ()
as the pointer type for the pointers to the architecture specific save areas (e.g., the x86_64 implementation).The text was updated successfully, but these errors were encountered: