Skip to content

Conversation

@theemathas
Copy link
Contributor

Mention in the FCW that the lifetime extension behavior was wrong since 1.88/1.89.

This was suggested by @cyqsimon in #145838 (comment), with the aim of helping users understand the potential scope of the breakage.

I apologize if this PR is too late in the release process. Feel free to close it if it is.

cc @dianne @cuviper

Mark-Simulacrum and others added 30 commits September 14, 2025 14:43
…mulacrum

[beta] Initial cut for 1.91 beta

https://forge.rust-lang.org/release/process.html#beta-pr

Also backports:

- Only run Cranelift dist test on nightly rust-lang#146582

r? `@Mark-Simulacrum`
…youxu

[beta] Revert "compiler: Add Windows resources to rustc-main and rustc_driver"

This reverts rust-lang#146018 due to rust-lang#146693
…kic"

This reverts commit 040a98a, reversing
changes made to e8a792d.
…iser

Revert "Auto merge of rust-lang#144086 - clubby789:alloc-zeroed, r=nikic"

This reverts commit 040a98a, reversing changes made to e8a792d.

This reverts rust-lang#144086 on beta due to rust-lang#145995. On master the issue will be fixed by rust-lang#146766.
(cherry picked from commit 4fcafc9)
(cherry picked from commit 83532f8)
(cherry picked from commit 7a0adc0)
[beta] backports

- remove incorrect fast path rust-lang#146919
- Fix infinite recursion in Path::eq with String rust-lang#146958
- Make #[link="dl"] an FCW rather than an error rust-lang#147262

r? cuviper
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
(cherry picked from commit 4787834)
When building with `rust.rpath = false`, every `rustc` invocation needs
to include the library path as well. I particularly ran into this in
`generate_target_spec_json_schema` when testing 1.91-beta in Fedora,
where we do disable rpath for our system builds. The new helper function
will hopefully encourage the right thing going forward.

(cherry picked from commit 03cdcb5)
(cherry picked from commit 95ddfa1)
[beta] backports

- Don't normalize higher-ranked assumptions if they're not used rust-lang#147299
- Fix target list of `link_section` rust-lang#147418
- bootstrap: add `Builder::rustc_cmd` that includes the lib path rust-lang#147419
- Update LLVM to 21.1.2 rust-lang#146953
- Remove the temporary directory when a check ends -- part of rust-lang#147518

r? cuviper
…nglo

[beta-1.91] Update cargo submodule

2 commits in 785a383cf715417fcd68c4a98a4523c2d082bb0f..ea2d97820c16195b0ca3fadb4319fe512c199a43
2025-10-04 19:17:20 -0500 to 2025-10-10 15:19:24 -0400
- [beta-1.91] fix: use `host-tuple` for host target subsitution (rust-lang/cargo#16032)
- [beta-1.91] fix(timings): compute codegen start time to draw dep lines (rust-lang/cargo#16057)

r? ghost
clarfonthey and others added 8 commits October 24, 2025 10:12
…arts, r=petrochenkov"

This reverts commit 99317ef, reversing
changes made to 9cd272d.

(cherry picked from commit a2b4833)
This reverts commit 066023e.

(cherry picked from commit c01682e)
…th multi byte chars

The issue cannot be reproduced with the former testcase of creating external crates because
rust refuses to use "external crate 28_找出字符串中第一个匹配项的下标"
because it is not a valid indentifier (starts with number, and contain non ascii chars)

But still using 28_找出字符串中第一个匹配项的下标.rs as a filename is accepted by previous rustc releases
So we consider it valid, and add an integration test for it to catch any regression on other code related to non ascii filenames.

(cherry picked from commit c6acffe)
[beta] backports

- Revert constification of `AsRef for Cow` due to inference failure rust-lang#148011
- Revert constification of `Borrow` and `Deref for Cow` due to inference failure rust-lang#148016
- Revert "fix: Filter suggestion parts that match existing code" rust-lang#148043
- Revert "feat: implement `hash_map!` macro" rust-lang#148049
- fix panic when rustc tries to reduce intermediate filenames len with utf8 rust-lang#148018

r? cuviper
@theemathas theemathas added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 27, 2025
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 27, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 27, 2025

r? @BoxyUwU

rustbot has assigned @BoxyUwU.
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

@theemathas theemathas added the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 27, 2025
Mention in the FCW that the lifetime extension behavior was wrong since 1.88/1.89.
@theemathas theemathas force-pushed the tle-fcw-more-context branch from 94e8a42 to 6ab240d Compare October 27, 2025 14:51
@bors
Copy link
Collaborator

bors commented Oct 27, 2025

☔ The latest upstream changes (presumably #142712) made this pull request unmergeable. Please resolve the merge conflicts.

@apiraino
Copy link
Contributor

Beta backport accepted as per compiler team on Zulip. A backport PR will be authored by the release team at the end of the current development cycle. Backport labels handled by them.

@rustbot label +beta-accepted

@rustbot rustbot added the beta-accepted Accepted for backporting to the compiler in the beta channel. label Oct 27, 2025
@cuviper
Copy link
Member

cuviper commented Oct 27, 2025

I just moved the branches, but I can pull this into the stable PR.

@cuviper cuviper added this to the 1.91.0 milestone Oct 27, 2025
@cuviper cuviper removed the beta-nominated Nominated for backporting to the compiler in the beta channel. label Oct 27, 2025
@fmease
Copy link
Member

fmease commented Oct 27, 2025

Channel promotion happened. Contained in / superseded by #148179. Closing.

@fmease fmease closed this Oct 27, 2025
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 27, 2025
bors added a commit that referenced this pull request Oct 27, 2025
[stable] Prepare Rust 1.91.0 release

- [beta-1.91] Add more context to the temporary lifetime extension FCW #148174
- rustdoc-search: JavaScript optimization based on Firefox Profiler output #146484
- rustdoc-search: use the same ID for entry and path to same item #147045
- rustdoc-search: stringdex update with more packing #147002
- rustdoc-search: stringdex 0.0.2 #147660
- [beta] Clippy beta backport #148029
- 1.91.0 release notes #148013

r? cuviper
@theemathas theemathas deleted the tle-fcw-more-context branch October 28, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beta-accepted Accepted for backporting to the compiler in the beta channel. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.