You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting in Rust 2024, all extern blocks must be marked as unsafe.
So, in order to be compatible with the 2024 edition, all extern blocks must be marked as unsafe explicitly. However, this feature is stabilized at Rust 1.82. So, this requires a version switch by rustversion.
rust-lang/rust#127921 says:
So, in order to be compatible with the 2024 edition, all
extern
blocks must be marked asunsafe
explicitly. However, this feature is stabilized at Rust 1.82. So, this requires a version switch byrustversion
.cf. https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-extern.html
The text was updated successfully, but these errors were encountered: