Skip to content

interpret: treat pattern and unsafe-binder as ABI-transparent - #160775

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:pattern-unsafe-transparent
Aug 11, 2026
Merged

interpret: treat pattern and unsafe-binder as ABI-transparent#160775
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
RalfJung:pattern-unsafe-transparent

Conversation

@RalfJung

@RalfJung RalfJung commented Aug 8, 2026

Copy link
Copy Markdown
Member

This was suggested by @Jules-Bertholet in #160658. I didn't follow all the discussions for those types. Making them transparent makes sense to me though we should make sure this is explicitly discussed as a stable guarantee when it comes to stabilizing those types.

Tracking issues: #123646, #130516.

r? @oli-obk

@rustbot

rustbot commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

Some changes occurred to the CTFE machinery

cc @oli-obk, @lcnr

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 8, 2026

@oli-obk oli-obk 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.

@rust-bors

rust-bors Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

📌 Commit b7ebb50 has been approved by oli-obk

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 11, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 11, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #156338 (Implement derives for Reborrow and CoerceShared)
 - #158083 (Fix perf regression in `Read::read_to_end` on short reads due to not checking if the cursor has initialized bytes)
 - #160829 (bootstrap: Make `main.rs` a stub that calls into the library crate)
 - #159839 (point at closure return expression in non-`FnOnce` E0271 errors)
 - #160775 (interpret: treat pattern and unsafe-binder as ABI-transparent)
@rust-bors
rust-bors Bot merged commit fca480b into rust-lang:main Aug 11, 2026
13 checks passed
@rustbot rustbot added this to the 1.99.0 milestone Aug 11, 2026
rust-timer added a commit that referenced this pull request Aug 11, 2026
Rollup merge of #160775 - RalfJung:pattern-unsafe-transparent, r=oli-obk

interpret: treat pattern and unsafe-binder as ABI-transparent

This was suggested by @Jules-Bertholet in #160658. I didn't follow all the discussions for those types. Making them transparent makes sense to me though we should make sure this is explicitly discussed as a stable guarantee when it comes to stabilizing those types.

Tracking issues: #123646, #130516.

r? @oli-obk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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.

3 participants