Skip to content
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

Replace libc with core::ffi in Rust 1.64.0 #31

Open
robo9k opened this issue Dec 4, 2022 · 1 comment
Open

Replace libc with core::ffi in Rust 1.64.0 #31

robo9k opened this issue Dec 4, 2022 · 1 comment

Comments

@robo9k
Copy link
Owner

robo9k commented Dec 4, 2022

Currently the libc crate is used for some FFI types. Since Rust version 1.64.0 those types are available in core::ffi without an additional crate.

This would bump the MSRV to 1.64.0

See robo9k/rust-magic#61 for the same change.

@robo9k
Copy link
Owner Author

robo9k commented Oct 14, 2023

bindgen uses usize for size_t by default and with --no-size_t-is-usize something like ::std::os::raw::c_ulong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant