We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
value_oid_as
Transmuting bytes to an arbitrary type can cause undefined behavior.
The safety requirements:
T
Sized
size_of::<T>()
align_of::<T>()
sysctl-rs/src/unix/funcs.rs
Lines 367 to 369 in 57c05e1
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
No branches or pull requests
Transmuting bytes to an arbitrary type can cause undefined behavior.
The safety requirements:
T
must beSized
.size_of::<T>()
.align_of::<T>()
.T
must be valid for any binary representation.sysctl-rs/src/unix/funcs.rs
Lines 367 to 369 in 57c05e1
The text was updated successfully, but these errors were encountered: