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

Support unsafe extern "C" blocks #1409

Open
Danvil opened this issue Feb 22, 2025 · 1 comment
Open

Support unsafe extern "C" blocks #1409

Danvil opened this issue Feb 22, 2025 · 1 comment

Comments

@Danvil
Copy link

Danvil commented Feb 22, 2025

Code generated by cc does not work with Rust Edition 2024 as extern "C" blocks now need to be unsafe.

Here is a related issue from the bindgen crate: rust-lang/rust-bindgen#3015

@NobodyXu
Copy link
Collaborator

Hmmm I didn't get it, which code generation are you referring to?

Is it the windows-sys bindings generated?

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

No branches or pull requests

2 participants