Skip to content

test(build-std): Expand existing -Zbuild-std tests - #17399

Open
adamgemmell wants to merge 6 commits into
rust-lang:masterfrom
adamgemmell:dev/adagem01/builtins-tests
Open

test(build-std): Expand existing -Zbuild-std tests#17399
adamgemmell wants to merge 6 commits into
rust-lang:masterfrom
adamgemmell:dev/adagem01/builtins-tests

Conversation

@adamgemmell

@adamgemmell adamgemmell commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

What does this PR try to resolve?

This PR, split off from #16675, adds a series of tests to capture currently untested -Zbuild-std behaviour. It covers:

  • Core behaviour like lockfiles and status messages which are at risk of breakage due to recent work which adds builtin packages to the main resolve.
  • Some common subcommands - vendor, tree and metadata, at risk for the same reasons.

How to test and review this PR?

This test has no functional changes and just introduces new tests. This PR supports other PRs split off from #16675 by demonstrating that those changes do not change the existing behaviour of -Zbuild-std.

@rustbot rustbot added A-crate-dependencies Area: [dependencies] of any kind A-dependency-resolution Area: dependency resolution and the resolver A-lockfile Area: Cargo.lock issues S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 27, 2026
@rustbot

rustbot commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

r? @weihanglo

rustbot has assigned @weihanglo.
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: @epage, @weihanglo
  • @epage, @weihanglo expanded to epage, weihanglo
  • Random selection from epage, weihanglo

Comment thread tests/testsuite/standard_lib.rs Outdated
@adamgemmell
adamgemmell force-pushed the dev/adagem01/builtins-tests branch from b05d496 to e9e00c1 Compare September 3, 2026 09:52
@rustbot

rustbot commented Sep 3, 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.

@adamgemmell adamgemmell mentioned this pull request Sep 3, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-crate-dependencies Area: [dependencies] of any kind A-dependency-resolution Area: dependency resolution and the resolver A-lockfile Area: Cargo.lock issues S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants