Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generalizeunsize andunsize_into destinations#144123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
oli-obk wants to merge1 commit intorust-lang:master
base:master
Choose a base branch
Loading
fromoli-obk:ctfe-unsize

Conversation

oli-obk
Copy link
Contributor

@oli-obkoli-obk commentedJul 18, 2025
edited
Loading

Just something that I noticed during other work. We do this for most such functions, so let's do it here, too.

r?@RalfJung

@rustbotrustbot added S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. T-compilerRelevant to the compiler team, which will review and decide on the PR/issue. labelsJul 18, 2025
@rustbot
Copy link
Collaborator

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

Some changes occurred to the CTFE machinery

cc@RalfJung,@oli-obk,@lcnr

@RalfJung
Copy link
Member

Generalize usize and unsize_into destinations

Should beunsize, notusize, I assume? (Both in PR title and commit message.)

@RalfJung
Copy link
Member

r=me with commit message typo fixed.

@oli-obkoli-obk changed the titleGeneralizeusize andunsize_into destinationsGeneralizeunsize andunsize_into destinationsJul 18, 2025
@oli-obk
Copy link
ContributorAuthor

@bors r=RalfJung

@bors
Copy link
Collaborator

📌 Commitc65d3ce has been approved byRalfJung

It is now in thequeue for this repository.

@borsbors added S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties. labelsJul 18, 2025
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull requestJul 18, 2025
Generalize `unsize` and `unsize_into` destinationsJust something that I noticed during other work. We do this for most such functions, so let's do it here, too.r? `@RalfJung`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull requestJul 18, 2025
Generalize `unsize` and `unsize_into` destinationsJust something that I noticed during other work. We do this for most such functions, so let's do it here, too.r? ``@RalfJung``
bors added a commit that referenced this pull requestJul 18, 2025
Rollup of 9 pull requestsSuccessful merges: -#138554 (Distinguish delim kind to decide whether to emit unexpected closing delimiter) -#142673 (Show the offset, length and memory of uninit read errors) -#142693 (More robustly deal with relaxed bounds and improve their diagnostics) -#143382 (stabilize `const_slice_reverse`) -#143928 (opt-dist: make llvm builds optional) -#143961 (Correct which exploit mitigations are enabled by default) -#144050 (Fix encoding of link_section and no_mangle cross crate) -#144059 (Refactor `CrateLoader` into the `CStore`) -#144123 (Generalize `unsize` and `unsize_into` destinations)r? `@ghost``@rustbot` modify labels: rollup
bors added a commit that referenced this pull requestJul 19, 2025
Rollup of 9 pull requestsSuccessful merges: -#138554 (Distinguish delim kind to decide whether to emit unexpected closing delimiter) -#142673 (Show the offset, length and memory of uninit read errors) -#142693 (More robustly deal with relaxed bounds and improve their diagnostics) -#143382 (stabilize `const_slice_reverse`) -#143928 (opt-dist: make llvm builds optional) -#143961 (Correct which exploit mitigations are enabled by default) -#144050 (Fix encoding of link_section and no_mangle cross crate) -#144059 (Refactor `CrateLoader` into the `CStore`) -#144123 (Generalize `unsize` and `unsize_into` destinations)r? `@ghost``@rustbot` modify labels: rollup
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@RalfJungRalfJung

Labels
S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@oli-obk@rustbot@RalfJung@bors

[8]ページ先頭

©2009-2025 Movatter.jp