-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
liblibc should let you set errno #17714
Comments
Also that thing I linked is super old :v |
Didn't realize searching through issues doesn't list PRs anymore. Whoops! Guess I might as well leave this open until the PR merges, thoug. |
Really we should expose something that returns a pointer to |
moving to rust-lang/libc#47 now that this is an external crate. |
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jul 28, 2024
docs: Reference cov_mark crate instead of test_utils/mark Seems this was switched over in rust-lang/rust-analyzer#7922 I'm guessing this should skip the changelog because it's so minor, right? Reading through https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md and trying to get up to speed here =)
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 1, 2024
docs: Reference cov_mark crate instead of test_utils/mark Seems this was switched over in rust-lang/rust-analyzer#7922 I'm guessing this should skip the changelog because it's so minor, right? Reading through https://github.com/rust-lang/rust-analyzer/blob/master/docs/dev/style.md and trying to get up to speed here =)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
std::os::errno()
doesn't come with a::set_errno()
variant, but this seems like fairly important functionality for interacting with C code.There's https://github.com/bnoordhuis/rust-errno/blob/master/errno.rs, but not shipping with support for this is sort of a curious omission that belies Rust's appropriateness for slotting into C systems.
The text was updated successfully, but these errors were encountered: