-
Notifications
You must be signed in to change notification settings - Fork 13k
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
alloc: no_global_oom_handling
: disable new()
s, pin()
s, etc.
#86810
Conversation
They are infallible, and could not be actually used because they will trigger an error when monomorphized, but it is better to just remove them. Link: Rust-for-Linux/linux#402 Suggested-by: Gary Guo <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
r? @dtolnay (rust-highfive has picked a reviewer for you, use r? to override) |
Paging @nbdd0121 @bjorn3 @Ericson2314. |
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!
@bors r+ |
📌 Commit 7775dff has been approved by |
☀️ Test successful - checks-actions |
BTW @ojeda, the double negation in |
A default-on |
@kornelski Note that this PR did not add the |
They are infallible, and could not be actually used because
they will trigger an error when monomorphized, but it is better
to just remove them.
Link: Rust-for-Linux/linux#402
Suggested-by: Gary Guo [email protected]
Signed-off-by: Miguel Ojeda [email protected]