Skip to content

test(install): cargo install --path honors MSRV - #17102

Merged
ehuss merged 1 commit into
rust-lang:masterfrom
weihanglo:msrv-install-path
Jun 15, 2026
Merged

test(install): cargo install --path honors MSRV#17102
ehuss merged 1 commit into
rust-lang:masterfrom
weihanglo:msrv-install-path

Conversation

@weihanglo

Copy link
Copy Markdown
Member

What does this PR try to resolve?

This doesn't seem to be covered by existing test suite.

Found when working on min-publish-age.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 14, 2026
@rustbot

rustbot commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ehuss, @epage, @weihanglo
  • @ehuss, @epage, @weihanglo expanded to ehuss, epage, weihanglo
  • Random selection from ehuss, epage

Comment thread tests/testsuite/rust_version.rs Outdated
}

/// `cargo install --path` builds a normal workspace,
/// so its dependency resolution honors

@ehuss ehuss Jun 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this was an incomplete sentence?

Suggested change
/// so its dependency resolution honors
/// so its dependency resolution honors msrv.

View changes since the review

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow dropped it during the edit. Thanks for the catch. Fixed.

@weihanglo
weihanglo force-pushed the msrv-install-path branch from a4f7eb7 to f9749c6 Compare June 15, 2026 15:14

@ehuss ehuss left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ehuss
ehuss enabled auto-merge June 15, 2026 15:44
@ehuss
ehuss added this pull request to the merge queue Jun 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 15, 2026
@ehuss
ehuss enabled auto-merge June 15, 2026 16:03
@ehuss
ehuss added this pull request to the merge queue Jun 15, 2026
Merged via the queue into rust-lang:master with commit d3b55f8 Jun 15, 2026
58 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 15, 2026
@weihanglo
weihanglo deleted the msrv-install-path branch June 15, 2026 17:32
rust-bors Bot pushed a commit to rust-lang/rust that referenced this pull request Jun 17, 2026
Update cargo submodule

7 commits in fe63976b245b8a649c3f2949bf89fdc307bfbae4..598ab48ec328e3e4f5e4e373d8df7264bc8e27cd
2026-06-11 09:17:57 +0000 to 2026-06-17 02:39:50 +0000
- Improved the test error messages when 'rustc -V' fails (rust-lang/cargo#17108)
- test(install): `cargo install` --path honors MSRV (rust-lang/cargo#17102)
- feat(trim-paths): emit `CARGO_TRIM_PATHS_REMAP` for build.rs (rust-lang/cargo#17104)
- Add funding links (rust-lang/cargo#17103)
- fix(diag): Give diagnostics the same display path behavior as rustc (rust-lang/cargo#17101)
- refactor: remove cargo-util-terminal from bump-check exclusions (rust-lang/cargo#17098)
- fix(diag): Report all errors, in order (rust-lang/cargo#17095)
@rustbot rustbot added this to the 1.98.0 milestone Jun 17, 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.

3 participants