Skip to content

Prepare for v1.12.0 release - #7227

Merged
ytmimi merged 12 commits into
rust-lang:mainfrom
jieyouxu:jieyouxu/release/1.12.0
Nov 3, 2026
Merged

ytmimi merged 12 commits into
rust-lang:mainfrom
jieyouxu:jieyouxu/release/1.12.0

Conversation

@jieyouxu

@jieyouxu jieyouxu commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Context

Part of #7225.
See https://rust-lang.zulipchat.com/#narrow/channel/357797-t-rustfmt/topic/subtree.20sync.20ops/near/635260586.

Warning

Stacked on top of #7226.

Notes for the reviewer

r? @ytmimi


  • I did not use an LLM to create a change in this PR.
  • I used an LLM to create a change in this PR, and I have explained below how it was used.

Only used LLM to find 2 PRs that I apparently missed when filtering the PRs and find a few broken links / typos.

bors and others added 12 commits October 22, 2026 11:32
Fixes rustfmt issue 7209

Now rustfmt shouldn't loose comments between braces when formatting
`cfg_select!` arms that use double brace syntax. For example,

```rust
cfg_select! {
    _ => {
        // after opening brace
        { x }
        // before closing brace
    }
}
```
rustfmt: prevent more comment loss in `cfg_select!`

Fixes rust-lang#7209

Now rustfmt shouldn't loose comments between braces when formatting `cfg_select!` arms that use double brace syntax. For example,

```rust
cfg_select! {
    _ => {
        // after opening brace
        { x }
        // before closing brace
    }
}
```

Opening this up directly against r-l/r since losing comments in this context isn't great and we want the fix to land on nightly ASAP.

r? @jieyouxu

cc: @RalfJung
…uwer

Rollup of 2 pull requests

Successful merges:

 - rust-lang/rust#164800 (Use LLVMCreateBuilderForModule to create IR builders)
 - rust-lang/rust#164815 (rustfmt: prevent more comment loss in `cfg_select!`)
It's best to use `Span` methods because `SpanData` is mostly an internal
detail, and to avoid unnecessary `SPAN_TRACK` calls.

In the following cases, removing the `data()` gives identical behaviour:

- `span.data().lo` --> `span.lo()`
- `span.data().hi` --> `span.hi()`
- `span.data().lo` + `span.data().hi` --> `span.lo_hi()`

In the following case, removing the `data_untracked()` gives identical
behaviour:

- `span.data_untracked().parent` --> `span.parent()`

In the following case, removing the `data` removes an unnecessary
`SPAN_TRACK` call (because `SPAN_TRACK` is only needed for lo/hi
accesses):

- `span.data().ctxt` --> `span.ctxt()`
…r=Kivooeo

Reduce `SpanData` use

`SpanData` is mostly an internal detail, and using `Span` is preferable where possible. Details in individual commits.

r? @Kivooeo
…uwer

Rollup of 8 pull requests

Successful merges:

 - rust-lang/rust#164955 (Use the updated buffer length in UEFI locate_handles)
 - rust-lang/rust#164958 (uefi: roll back env changes when `start_image` fails)
 - rust-lang/rust#164968 (thread_local::guard: update comments a bit)
 - rust-lang/rust#164303 (Remove the 'sub' method from 'At' and migrate to 'sub_raw')
 - rust-lang/rust#164674 (Use a NoSpan marker for region constraints without spans)
 - rust-lang/rust#164934 (Remove redundant vec and duplicate indexing in find_noop_landing_pads)
 - rust-lang/rust#164954 (Reduce `SpanData` use)
 - rust-lang/rust#164970 (`rust-analyzer` subtree update)
This updates the rust-toolchain.toml file to nightly-2026-11-02 (3e92e1a2d20b991ef23a6c6064c34d57ee8c98d3).
@rustbot rustbot added the S-waiting-on-review Status: awaiting review from the assignee but also interested parties. label Nov 2, 2026
@jieyouxu jieyouxu added the A-release Area: release label Nov 2, 2026
@ytmimi
ytmimi added this pull request to the merge queue Nov 3, 2026
@ytmimi

ytmimi commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Only used LLM to find 2 PRs that I apparently missed when filtering the PRs and find a few broken links / typos.

@jieyouxu Was it not enough to look for closed PRs that were marked with the release-notes label? That's what I usually do when looking for items to add to the CHANGELOG.

Merged via the queue into rust-lang:main with commit 4408c4c Nov 3, 2026
33 checks passed
@rustbot rustbot added release-notes Needs an associated changelog entry and removed S-waiting-on-review Status: awaiting review from the assignee but also interested parties. labels Nov 3, 2026
@jieyouxu

jieyouxu commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

@jieyouxu Was it not enough to look for closed PRs that were marked with the release-notes label? That's what I usually do when looking for items to add to the CHANGELOG.

It was -- it's just that there were 2 PRs that I thought I added but I did not 😓

@jieyouxu
jieyouxu deleted the jieyouxu/release/1.12.0 branch November 3, 2026 01:12
@rustbot rustbot added this to the 1.101.0 milestone Nov 3, 2026
@ytmimi ytmimi removed the release-notes Needs an associated changelog entry label Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-release Area: release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants