Skip to content
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

libnative/io: pwrite() is broken. #17791

Closed
nodakai opened this issue Oct 5, 2014 · 1 comment
Closed

libnative/io: pwrite() is broken. #17791

nodakai opened this issue Oct 5, 2014 · 1 comment

Comments

@nodakai
Copy link
Contributor

nodakai commented Oct 5, 2014

fn pwrite(&mut self, buf: &[u8], offset: u64) -> IoResult<()> {

It is normal for pwrite() to return a non-zero value (number of bytes written) but mkerr_libc() always turns it into an Err.

@alexcrichton
Copy link
Member

These implementations have been removed in the interim.

lnicola pushed a commit to lnicola/rust that referenced this issue Aug 13, 2024
…r=Veykril

feat: Implement diagnostic for `await` outside of `async`

Closes rust-lang#17781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants