Skip to content

[beta 1.95] backport test fixes#16715

Merged
weihanglo merged 3 commits intorust-lang:rust-1.95.0from
ehuss:beta-1.95-test-fixes
Mar 6, 2026
Merged

[beta 1.95] backport test fixes#16715
weihanglo merged 3 commits intorust-lang:rust-1.95.0from
ehuss:beta-1.95-test-fixes

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 6, 2026

This backports the following to fix the beta branch and to reduce spurious errors:

weihanglo and others added 3 commits March 6, 2026 06:32
### What does this PR try to resolve?

Blocks a compiler change, see [#t-cargo >
&rust-lang#96;replace::use_a_spec_to_select&rust-lang#96; test failure @
💬](https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/.60replace.3A.3Ause_a_spec_to_select.60.20test.20failure/near/577341461)

### How to test and review this PR?
### What does this PR try to resolve?

Fixes rust-lang#16704

### How to test and review this PR?
…16714)

### What does this PR try to resolve?

rust-lang/rust#152164 added a warn-by-default
`unused_features` lint.
Cargo injects  `#![feature(frontmatter)]` for all embedded scripts,
but scripts without frontmatter syntax never trigger feature gate check,
and causes causing the lint warning.

Given the stabilization FCP of frontmatter [is
complete](rust-lang/rust#148051 (comment))
already,
we could expect it will soon be stabilized (?).

It should be fine we suppress this new unstable lint.

### How to test and review this PR?

Test suite passes.
See
<rust-lang#16713 (comment)>
for more.
@rustbot rustbot added A-build-execution Area: anything dealing with executing the compiler S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 6, 2026
@rustbot
Copy link
Collaborator

rustbot commented Mar 6, 2026

r? @epage

rustbot has assigned @epage.
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 epage, weihanglo

@rustbot
Copy link
Collaborator

rustbot commented Mar 6, 2026

⚠️ Warning ⚠️

  • Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.95.0. Please double check that you specified the right target!

@weihanglo weihanglo merged commit 6ab9b00 into rust-lang:rust-1.95.0 Mar 6, 2026
29 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 6, 2026
rust-bors bot pushed a commit to rust-lang/rust that referenced this pull request Mar 7, 2026
[beta] update stage0 and cargo

Update stage0 to 1.94.0

<https://forge.rust-lang.org/release/process.html#beta-stage0-update-friday>

---

Update cargo submodule #153515

2 commits in f298b8c82da0cba538516b45b04a480fc501d4c0..e8eb8435d5cad936237a1ee798c2f983624d0825
2026-02-24 21:59:20 +0000 to 2026-03-06 12:51:00 -0600
- [beta-1.95] Add missing truncate when writing .crate files (rust-lang/cargo#16713)
- [beta 1.95] backport test fixes (rust-lang/cargo#16715)
@rustbot rustbot added this to the 1.95.0 milestone Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-build-execution Area: anything dealing with executing the compiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants