-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Just wanted to give you a heads up that there may be a not entirely obvious change in Rust 1.86. The target_feature_11 change adds a new ability for Unsafe superpowers, which is to call safe functions with target features the caller function itself does not enable (particularly applicable to main
or anything called from it, since main
cannot have target features).
Previously it was required that these functions always be unsafe
, but now they can be safe and be called safely if the caller enables the same features.
There's more information in rust-lang/reference#1720 and rust-lang/rust#134090.
Metadata
Metadata
Assignees
Labels
No labels