-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
unsafe-ness not visible in library reference doc #3804
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Milestone
Comments
Also |
I saw the news about rustdoc_ng in "This week in Rust", and now I see this was closed 6 months ago, but it doesn't look fixed to me: https://github.com/mozilla/rust/blob/master/src/libstd/local_data.rs#L92 says unsafe |
You are correct! Thanks for pointing this out. Reopening. |
ghost
assigned alexcrichton
Sep 24, 2013
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Sep 24, 2013
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 24, 2020
allow refs in our constant folder This helps with rust-lang#3804 (but won't completely fix it). --- changelog: none
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 30, 2024
Support blocking for epoll This PR enabled epoll to have blocking operation. The changes introduced by this PR are: - Refactored part of the logic in ``epoll_wait`` to ``blocking_epoll_callback`` - Added a new field ``thread_ids`` in ``Epoll`` for blocked thread ids - Added a new ``BlockReason::Epoll``
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Aug 30, 2024
Add tokio io test After rust-lang#3804 landed, these tests passed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
local_data.rs line 55 declares this function unsafe:
but the docs for task_local_data doesn't show the unsafe keyword:
Is this a rustdoc limitation?
The text was updated successfully, but these errors were encountered: