Skip to content

Rustup - #17607

Merged
flip1995 merged 15 commits into
rust-lang:masterfrom
flip1995:rustup
Aug 23, 2026
Merged

Rustup#17607
flip1995 merged 15 commits into
rust-lang:masterfrom
flip1995:rustup

Conversation

@flip1995

Copy link
Copy Markdown
Member

r? @ghost

Another sync, as I want to resolve the conflicts on this side to do a clean Josh sync soon ™️

changelog: none

LorrensP-2158466 and others added 13 commits August 18, 2026 09:27
- be explicit when only needing types of `GenericArgs`
Installing cargo tools (`cargo install`) without locked dependencies exposes users to supply-chain attacks to all the dependencies of the tool (https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/). Using `cargo install --locked` reduces this risk to a compromise of the tool itself, while using the locked and hashed version of the dependencies.

I went through all `rg "cargo install"` hits in the repository and added `--locked` to all but explanatory examples. I validated that those tools publish functioning `Cargo.lock`s with https://gist.github.com/konstin/ef3412518e207bea6035a1bd01f3821b.
…nn,kobzol

Enable `-Znext-solver` on nightly by default



Implementation of rust-lang/compiler-team#1014 cc rust-lang/blog.rust-lang.org#1896 rust-lang/rust#160895

This enables `-Znext-solver=globally` by default in nightly, but keeps `-Znext-solver=coherence` for most tests.
move some attribute related structs out of rustc_attr_ir

This changes it so that

- rustc_session no longer depends on rustc_attr_ir
- rustc_attr_ir no longer depends on rustc_target (which is a fairly sizeable crate)
- rustc_attr_ir and rustc_target can compile in parallel

Previous graph:
<img width="985" height="512" alt="image" src="https://github.com/user-attachments/assets/cbde2414-043e-45f2-88a2-f77a5c9df60c" />

Graph with this PR:
<img width="1248" height="474" alt="image" src="https://github.com/user-attachments/assets/e0e13794-b17b-4337-8768-f0191cb1c0e6" />

r? @JonathanBrouwer
…ertdev

Install cargo tools with locked dependencies

Installing cargo tools (`cargo install`) without locked dependencies exposes users to supply-chain attacks to all the dependencies of the tool (https://blog.rust-lang.org/2026/08/20/supply-chain-attack-on-arrayref/). Using `cargo install --locked` reduces this risk to a compromise of the tool itself, while using the locked and hashed version of the dependencies.

I went through all `rg "cargo install"` hits in the repository and added `--locked` to all but explanatory examples (such as cargo's docs on `cargo install` itself). I validated that those tools publish functioning `Cargo.lock`s with https://gist.github.com/konstin/bcb1169c1c1120c259dca64e777a64d0.
@rustbot

rustbot commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred in clippy_lints/src/doc

cc @notriddle

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 22, 2026
@flip1995
flip1995 enabled auto-merge August 22, 2026 21:27
@flip1995
flip1995 added this pull request to the merge queue Aug 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 22, 2026
@flip1995

Copy link
Copy Markdown
Member Author

rust-lang/rust#161542

@matthiaskrgr

Copy link
Copy Markdown
Member

does #17601 fix this?

@rustbot

This comment has been minimized.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown

Lintcheck changes for f9d42d4

Lint Added Removed Changed
clippy::future_not_send 1 0 0
clippy::needless_pass_by_value 1 0 0
clippy::use_self 0 5 0
clippy::useless_conversion 0 0 8

This comment will be updated if you push new changes

@rustbot

This comment has been minimized.

@rustbot

rustbot commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@flip1995
flip1995 enabled auto-merge August 23, 2026 17:32
@flip1995
flip1995 added this pull request to the merge queue Aug 23, 2026
Merged via the queue into rust-lang:master with commit 7c06e7c Aug 23, 2026
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.