Skip to content

Initial functions to start on transmute v2#155084

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
scottmcm:add-transmute-prefix
Apr 12, 2026
Merged

Initial functions to start on transmute v2#155084
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
scottmcm:add-transmute-prefix

Conversation

@scottmcm
Copy link
Copy Markdown
Member

For context, see rust-lang/rfcs#3844 and rust-lang/libs-team#772

Experimental still, tracked under #155079

This is just library functions. A future PR will do compiler changes for things like lints.

@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. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Apr 10, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 10, 2026

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
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: @scottmcm, libs
  • @scottmcm, libs expanded to 8 candidates

@scottmcm scottmcm removed the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Apr 10, 2026
@rust-log-analyzer

This comment has been minimized.

@scottmcm scottmcm force-pushed the add-transmute-prefix branch from 0753fe0 to 63d7f8e Compare April 10, 2026 08:59
@Mark-Simulacrum
Copy link
Copy Markdown
Member

@bors r+

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 11, 2026

📌 Commit 63d7f8e has been approved by Mark-Simulacrum

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 Apr 11, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Apr 11, 2026
…ark-Simulacrum

Initial functions to start on transmute v2

For context, see rust-lang/rfcs#3844 and rust-lang/libs-team#772

*Experimental* still, tracked under rust-lang#155079

This is just library functions.  A future PR will do compiler changes for things like lints.
rust-bors bot pushed a commit that referenced this pull request Apr 12, 2026
Rollup of 7 pull requests

Successful merges:

 - #155084 (Initial functions to start on transmute v2)
 - #155126 (add `cfg(target_object_format = "...")`)
 - #155165 (Portable SIMD subtree update)
 - #153871 (fix spurious test failure in `metadata_access_times`)
 - #155150 (replace <name> @ ty::AliasTy matches with just using args: <name>_args)
 - #155159 (Fix min-specialization ICE from ignored region resolution failure)
 - #155167 (Reduce size of `ImportData`)
@rust-bors rust-bors bot merged commit d83352b into rust-lang:main Apr 12, 2026
11 checks passed
@rustbot rustbot added this to the 1.97.0 milestone Apr 12, 2026
rust-timer added a commit that referenced this pull request Apr 12, 2026
Rollup merge of #155084 - scottmcm:add-transmute-prefix, r=Mark-Simulacrum

Initial functions to start on transmute v2

For context, see rust-lang/rfcs#3844 and rust-lang/libs-team#772

*Experimental* still, tracked under #155079

This is just library functions.  A future PR will do compiler changes for things like lints.
@scottmcm scottmcm deleted the add-transmute-prefix branch April 12, 2026 08:22
/// New version of `transmute`, exposed under this name so it can be iterated upon
/// without risking breakage to uses of "real" transmute.
///
/// It will not be stabilized under this name.
Copy link
Copy Markdown
Member

@RalfJung RalfJung Apr 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View changes since the review

Please explain its requirements and in particular how they are different from regular transmute.

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-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants