Closed jdygert-spok closed 2 weeks ago
pread and pwrite don't technically need to be unsafe, but it is consistent and more convenient for avoiding the unused_unsafe warning across targets.
pread
pwrite
unsafe
unused_unsafe
posix_memalign must be unsafe since it writes to the ptr arg memptr.
posix_memalign
memptr
This is a breaking change.
r? @JohnTitor
rustbot has assigned @JohnTitor. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.
Use r? to explicitly pick a reviewer
r?
pread
andpwrite
don't technically need to beunsafe
, but it is consistent and more convenient for avoiding theunused_unsafe
warning across targets.posix_memalign
must beunsafe
since it writes to the ptr argmemptr
.This is a breaking change.