Skip to content

Fix warning with rust 1.82.0 #863

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

jannic
Copy link
Member

@jannic jannic commented Oct 17, 2024

Since rust 1.82.0, addr_of is no longer unsafe:
rust-lang/rust#125834

Just removing the unsafe statement would break builds with older versions of rust. Instead, allow the unused_unsafe lint.

Since rust 1.82.0, addr_of is no longer unsafe:
rust-lang/rust#125834

Just removing the unsafe statement would break builds with older
versions of rust. Instead, allow the unused_unsafe lint.
@jannic jannic force-pushed the silence-warning-rust-1.82.0 branch from 8d5d9b7 to b871f02 Compare October 17, 2024 17:18
@jannic jannic merged commit 87d5124 into rp-rs:main Oct 17, 2024
49 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants