Skip to content

Conversation

@kaleidawave
Copy link

As of the Rust 2024 edition. The no_mangle attribute must be wrapped in unsafe. This PR changes the macro in this crate to emit unsafe(no_mangle) instead, so that this crate now compiles in the 2024 edition.

I hope that this is backwards compatible with older versions. Unfortuantly, there is no cfg!(edition >= 2024) to branch on.

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

Successfully merging this pull request may close these issues.

1 participant