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
Since the crate contains no unsafe code except in mod tests, it would be possible to add #![deny(unsafe_code)] and then #[allow(unsafe_code)] for the tests.
I don't really see the advantage in that.
Users of this crate will have to use unsafe code to interact with the extern "C" functions anyways.
The text was updated successfully, but these errors were encountered:
Since the crate contains no
unsafe
code except inmod tests
, it would be possible to add#![deny(unsafe_code)]
and then#[allow(unsafe_code)]
for the tests.I don't really see the advantage in that.
Users of this crate will have to use
unsafe
code to interact with theextern "C"
functions anyways.The text was updated successfully, but these errors were encountered: