Skip to content

Remove usages of Unique from RawVec - #162804

Open
maxdexh wants to merge 1 commit into
rust-lang:mainfrom
maxdexh:nuke-unique-in-vec
Open

maxdexh wants to merge 1 commit into
rust-lang:mainfrom
maxdexh:nuke-unique-in-vec

Conversation

@maxdexh

@maxdexh maxdexh commented Sep 15, 2026

Copy link
Copy Markdown
Member

View all comments

See zulip.

Probably needs a perf run, because it touches code that might be very sensitive to build times and debug mode

r? libs

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 15, 2026
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@maxdexh
maxdexh marked this pull request as ready for review September 15, 2026 14:59
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Sep 15, 2026
@saethlin

Copy link
Copy Markdown
Member

@bors try @rust-timer queue

@rust-timer

Copy link
Copy Markdown
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 15, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 15, 2026
Remove usages of `Unique` from `RawVec`
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 15, 2026
@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 993bb96 failed: CI, CI

@hanna-kruppe

Copy link
Copy Markdown
Contributor

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 15, 2026
Remove usages of `Unique` from `RawVec`
@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: b67dca9 (b67dca92df005a4ebbe8c3b45e6cfe97925fff26)
Base parent: 1936d44 (1936d44457352da43b2d740672b940ebc715ac38)

@rust-timer

Copy link
Copy Markdown
Collaborator

Queued b67dca9 with parent 1936d44, future comparison URL.
There is currently 1 preceding artifact in the queue.
It will probably take at least ~0.8 hours until the benchmark run finishes.

@hanna-kruppe

Copy link
Copy Markdown
Contributor

Nice cleanup, I'd say "r=me if perf looks good" but we should probably do some due diligence about debug visualizers. You mentioned on Zulip that you tested manually in gdb, I can try on Windows locally later.

r? me

@rustbot rustbot assigned hanna-kruppe and unassigned jhpratt Sep 15, 2026
@hanna-kruppe

Copy link
Copy Markdown
Contributor

Oh, huh, guess that a bunch of old backcompat hacks made the gdb visualizer resilient to this change:

return ptr if ptr.type.code == gdb.TYPE_CODE_PTR else ptr[ptr.type.fields()[0]]

But the natvis looks like it’ll break:

<ValuePointer>($T1*)buf.inner.ptr.pointer.pointer</ValuePointer>

@hanna-kruppe

Copy link
Copy Markdown
Contributor

@bors try=dist-x86_64-msvc for testing

@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Unknown command "try". Run @bors help or go to https://bors.rust-lang.org/help to see available commands.

@hanna-kruppe

Copy link
Copy Markdown
Contributor

@bors try jobs=dist-x86_64-msvc

@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

⌛ Trying commit 4ab2802 with merge b4250fe

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/35004363157

rust-bors Bot pushed a commit that referenced this pull request Sep 15, 2026
Remove usages of `Unique` from `RawVec`


try-job: dist-x86_64-msvc
@maxdexh

maxdexh commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

I mean yeah that'll obviously break, I might as well fix it before the try run, no? ^^

@maxdexh

maxdexh commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

Actually nvm this way we see if it's getting tested :D

@hanna-kruppe

hanna-kruppe commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Yeah, fair point, I had the try command queued up (incorrectly, was too focused on identifying the right job name) before I dug up the natvis and didn't think before firing it off. @bors try cancel

@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Try build cancelled. Cancelled workflows:

Hint: if you want to run another try build, you do not need to manually cancel the previous one. Just run @bors try and bors will cancel the previous build automatically.

@hanna-kruppe

Copy link
Copy Markdown
Contributor

Actually nvm this way we see if it's getting tested :D

Oh yeah I guess that's a fair point too. But let me check what is the best job for running those tests.

@hanna-kruppe

Copy link
Copy Markdown
Contributor

@bors try jobs=test-x86_64-msvc-*

@rust-bors

rust-bors Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

⌛ Trying commit 4ab2802 with merge aaf1dca

To cancel the try build, run the command @bors try cancel.

Workflow: https://github.com/rust-lang/rust/actions/runs/35005035908

rust-bors Bot pushed a commit that referenced this pull request Sep 15, 2026
Remove usages of `Unique` from `RawVec`


try-job: test-x86_64-msvc-*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-perf Status: Waiting on a perf run to be completed. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants