-
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
Add support for allocators in Rc
& Arc
#89132
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @m-ou-se (or someone else) soon. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Oh, finally This was a mess, I'm so sorry. |
Rc
@Cyborus04 can you squash the commits? 35 is a bit much haha |
f700673
to
64fc44a
Compare
Oh dang, was it really that many? Haha wow, sorry |
☔ The latest upstream changes (presumably #89144) made this pull request unmergeable. Please resolve the merge conflicts. |
64fc44a
to
027b30d
Compare
I think I did that right? The guide is for the Git CLI but I used Github Desktop so I'm not entirely sure |
☔ The latest upstream changes (presumably #89386) made this pull request unmergeable. Please resolve the merge conflicts. |
I'm so confused, I didn't think I touched those files. |
027b30d
to
a452b9d
Compare
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
This test that failed has the output:
It doesn't seem like this can be right... Isn't that exact text right there? I think we need a hand understanding what is going on, if anyone is more familiar with these tests |
Pointed out in Zulip that the |
It looks like these strings are generated here: rust/src/etc/natvis/liballoc.natvis Lines 61 to 187 in 0d50ab7
ptr.pointer part isn't computing for some reason? I don't think anything there should have changed.
cc @rust-lang/wg-debugging, would you be able to help us figure out what's going on with the mismatched debug output here? (edit: sorry wg-mir-opt, I have no clue why I accidentally cc'd you instead of wg-debugging) |
Also update a test case to have the correct whitespace in a type name.
Hi @Cyborus04 and @tgross35 👋 I took the liberty of pushing a commit into your branch that fixes the failing debuginfo tests. The main thing to note is that some of the natvis visualizers do a partial match like this @bors r=Amanieu |
Thank you for taking a look Wesley! Don't think we ever would have figured that out on our own 🙂 |
yes, tysm! |
☀️ Test successful - checks-actions |
I had a double take when I saw the purple icon in my notifications, I'm so happy! |
Finished benchmarking commit (da6b55c): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 657.068s -> 658.015s (0.14%) |
Visiting for perf-triage
@rustbot label: +perf-regression-triaged |
Adds the ability for
std::rc:Rc
,std::rc::Weak
,std::sync::Arc
, andstd::sync::Weak
to live in custom allocators