csbindgen
csbindgen copied to clipboard
Add support for parsing Rust 2024 edition of #[unsafe(no_mangle)] and unsafe(export_name = "foo")] attributes.
Hi,
This change enable csbindgen to work with Rust 2024, which requires attributes to be inside unsafe(), like:
#[unsafe(no_mangle)]
#[unsafe(export_name = "foo")]
fixes! #102
Any chance this will be merged in soon?
Thoughts on merging this?
cc @guitarrapc
+1
Thank you for great contribute and sorry for delayed response. I've merged in #110, it resolve conflict in main. However your commit has been incorporated as is, so I believe there will be no problem with the credit. Thank you.