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
{{ message }}
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Implement a new feature optimized to shield all unsafe usage.
When this feature is on, unsafe is allowed
When this feature is off, we should introduce forbid_unsafe in the root of the library: src/lib.rs: #![cfg_attr(not(feature = "optimized"), forbid(unsafe_code))]
This means that all functions that use unsafe will have to be reimplemented with their safer (and potentially slower) counterparts
The text was updated successfully, but these errors were encountered:
Implement a new feature
optimized
to shield all unsafe usage.When this feature is on,
unsafe
is allowedWhen this feature is off, we should introduce
forbid_unsafe
in the root of the library:src/lib.rs
:#![cfg_attr(not(feature = "optimized"), forbid(unsafe_code))]
This means that all functions that use unsafe will have to be reimplemented with their safer (and potentially slower) counterparts
The text was updated successfully, but these errors were encountered: