Skip to content

Fix warning with rust 1.82.0#863

Merged
jannic merged 1 commit into
rp-rs:mainfrom
jannic:silence-warning-rust-1.82.0
Oct 17, 2024
Merged

Fix warning with rust 1.82.0#863
jannic merged 1 commit into
rp-rs:mainfrom
jannic:silence-warning-rust-1.82.0

Conversation

@jannic
Copy link
Copy Markdown
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
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.

2 participants