-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
rt: make is_rt_shutdown_err method public #7771
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
Conversation
5f26c8f to
640c000
Compare
This introduces tokio::runtime::is_rt_shutdown_err and uses it in pidfd_reaper where it was previously defined. Fixes tokio-rs#7701
640c000 to
0ca69e7
Compare
Darksonn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! It looks reasonable.
Co-authored-by: Alice Ryhl <[email protected]>
ADD-SP
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a simple test for this new interface?
|
Sorry, I haven't gotten back on this yet, I might be able to update this this week |
|
No rush. I was just going through the list of open PRs. |
|
@Darksonn since you added some tests, do you want me to try and iterate on top of that or do you want to finish it up? |
|
Hrm, it looks like I added tests that don't pass on I think this PR is probably fine as-is, unless you have other ideas for additional changes. |
disable rustdoc test for wasm (like the other ones around for rt) disable a test when panic=abort is enabled
2ca0982 to
afeee34
Compare
|
Nothing more on my side apart the tests fixing. Should be good now for panic=abort and wasm. Not sure what the problem is for miri if not transient |
Darksonn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
|
For the miri error lets add: |
Head branch was pushed to by a user without write access
This introduces
tokio::runtime::is_rt_shutdown_errand uses it in pidfd_reaper where it was previously defined.Fixes #7701