-
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
Added Arc::try_pin #85579
Added Arc::try_pin #85579
Conversation
r? @yaahc (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
Shouldn't you also add |
I'm not sure, should I? :-) This was the one I had the immediate need for, so I started here. |
IMO, given that both Curious to see what the rest of @rust-lang/libs thinks though. |
@yaahc any updates on this? |
Not on my end. I was waiting for a reply indicating they planned on adding the additional |
I thought I sent a reply... but obviously I didn't. As I said, our use case is for |
Lets just merge it as is and I'll bring up adding the other APIs in the next libs team meeting @bors r+ |
📌 Commit 1eb439a has been approved by |
Sounds great. Thanks!
…On Wed, Jul 14, 2021 at 7:53 PM Jane Lusby ***@***.***> wrote:
Lets just merge it as is and I'll bring this up in the next libs team
meeting
@bors <https://github.com/bors> r+
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#85579 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAGBDOKV6T6TQ25UJ6BY3TXYPPLANCNFSM45KWFJAQ>
.
--
All that is necessary for evil to succeed is for good people to do nothing.
|
Added Arc::try_pin This helper is in line with other other allocation helpers on Arc. I didn't think this would require an RFC or broader discussion, let me know if that's incorrect.
Failed in rollup: #87148 (comment) |
This helper is in line with other other allocation helpers on Arc.
Fixed. The issue was that on |
Thanks! |
📌 Commit a214911 has been approved by |
⌛ Testing commit a214911 with merge 11c807461082ba506ee42ac8a92cb8e95b9054f2... |
@bors retry rolledup |
⌛ Testing commit a214911 with merge 5062f7b0641234440f969a3a8db3fa0d7df87f46... |
@bors retry |
⌛ Testing commit a214911 with merge 38268b7f72327b9df43d8c9330aca37550d4fdd5... |
@bors retry rolled-up |
⌛ Testing commit a214911 with merge 395c6e176c95d74ffeb104b2f42901586e7259a1... |
Sorry for the noise, CI doesn't love me today... |
Rollup of 8 pull requests Successful merges: - rust-lang#85579 (Added Arc::try_pin) - rust-lang#86478 (Add -Zfuture-incompat-test to assist with testing future-incompat reports.) - rust-lang#86947 (Move assert_matches to an inner module) - rust-lang#87081 (Add tracking issue number to `wasi_ext`) - rust-lang#87127 (Add safety comments in private core::slice::rotate::ptr_rotate function) - rust-lang#87134 (Make SelfInTyParamDefault wording not be specific to type defaults) - rust-lang#87147 (Update cargo) - rust-lang#87154 (Fix misuse of rev attribute on <a> tag) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
So we discussed this in our last libs-api meeting on wednesday and the general consensus was that these methods are niche enough where it is likely unimportant for us to add them to |
This helper is in line with other other allocation helpers on Arc.
I didn't think this would require an RFC or broader discussion, let me know if that's incorrect.