rust/library/core
Flying-Toast b335ec9ec8 Add a special case for CStr/CString in the improper_ctypes lint
Instead of saying to "consider adding a `#[repr(C)]` or
`#[repr(transparent)]` attribute to this struct", we now tell users to
"Use `*const ffi::c_char` instead, and pass the value from
`CStr::as_ptr()`" when the type involved is a `CStr` or a `CString`.

Co-authored-by: Jieyou Xu <jieyouxu@outlook.com>
2024-08-06 13:56:59 +00:00
..
benches Reformat use declarations. 2024-07-29 08:26:52 +10:00
src Add a special case for CStr/CString in the improper_ctypes lint 2024-08-06 13:56:59 +00:00
tests Rewrite binary search implementation 2024-07-30 17:07:56 +01:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00