-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
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
unix: add support for libc::readv and libc::writev #4048
Comments
Hi @RalfJung, I am interested to work on this issue, Could you please assign this task to me. |
@shamb0 you can do that yourself. :) Just write |
@rustbot claim |
That does not seem right. The docs say that the entire |
Good point, I was wrong there. Double checking
|
@rustbot release-assignment |
What we learned from the first attempt here is that some more preparation is needed: This will require changes to all existing |
readv and writev are vectored versions of read/write which are included in POSIX. (See e.g. man 3p readv, writev .) They could be (and sometimes have been) implemented using a loop and many read or write calls, so their semantics are not unusual.
I was advised to make this issue by the following error message:
A workaround for this error: under cfg(miri), replace libc::readv/libc::writev with functions that implement them using libc::read/libc::write directly.
The text was updated successfully, but these errors were encountered: