Skip to content

Fix box with custom allocator in miri - #98554

Merged
bors merged 4 commits into
rust-lang:masterfrom
beepster4096:box_unsizing_is_not_special
Jun 29, 2022
Merged

Fix box with custom allocator in miri#98554
bors merged 4 commits into
rust-lang:masterfrom
beepster4096:box_unsizing_is_not_special

Conversation

@beepster4096

Copy link
Copy Markdown
Contributor

This should fix the failures in rust-lang/miri#2072 and #98510.

cc @RalfJung

@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 26, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occured to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @michaelwoerister

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 26, 2022
Comment threadcompiler/rustc_const_eval/src/interpret/cast.rs
Comment threadcompiler/rustc_const_eval/src/interpret/validity.rs
@RalfJung

Copy link
Copy Markdown
Member

r? @RalfJung

@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@rust-log-analyzer

This comment has been minimized.

Comment threadcompiler/rustc_const_eval/src/interpret/validity.rs Outdated
you should always run x.py check before pushing
@RalfJung

Copy link
Copy Markdown
Member

Looking good, very nice. :)
@bors r+

@bors

bors commented Jun 28, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 9039265 has been approved by RalfJung

@borsbors 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 Jun 28, 2022
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Jun 29, 2022
…ial, r=RalfJung
Fix box with custom allocator in miri
This should fix the failures in rust-lang/miri#2072 and rust-lang#98510.
cc `@RalfJung`
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jun 29, 2022
…ial, r=RalfJung
Fix box with custom allocator in miri
This should fix the failures in rust-lang/miri#2072 and rust-lang#98510.
cc ``@RalfJung``
@Dylan-DPCDylan-DPC mentioned this pull request Jun 29, 2022
@Dylan-DPCDylan-DPC mentioned this pull request Jun 29, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 29, 2022
Rollup of 7 pull requests
Successful merges:
- rust-lang#98415 (Migrate some `rustc_borrowck` diagnostics to `SessionDiagnostic`)
- rust-lang#98479 (Add `fetch_not` method on `AtomicBool`)
- rust-lang#98499 (Erase regions in New Abstract Consts)
- rust-lang#98516 (library: fix uefi va_list type definition)
- rust-lang#98554 (Fix box with custom allocator in miri)
- rust-lang#98607 (Clean up arg mismatch diagnostic, generalize tuple wrap suggestion)
- rust-lang#98625 (emit Retag for compound types with reference fields)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit b2836bd into rust-lang:masterJun 29, 2022
@rustbotrustbot added this to the 1.64.0 milestone Jun 29, 2022
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Jul 4, 2022
fix interpreter validity check on Box
Follow-up to rust-lang#98554: avoid walking over parts of the value twice.
And then move all that logic into the general visitor so not each visitor implementation has to deal with it...
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 4, 2022
fix interpreter validity check on Box
Follow-up to rust-lang#98554: avoid walking over parts of the value twice.
And then move all that logic into the general visitor so not each visitor implementation has to deal with it...
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 4, 2022
fix interpreter validity check on Box
Follow-up to rust-lang#98554: avoid walking over parts of the value twice.
And then move all that logic into the general visitor so not each visitor implementation has to deal with it...
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this pull request Jul 5, 2022
fix interpreter validity check on Box
Follow-up to rust-lang#98554: avoid walking over parts of the value twice.
And then move all that logic into the general visitor so not each visitor implementation has to deal with it...
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

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

Development

Successfully merging this pull request may close these issues.

7 participants

@beepster4096@rust-highfive@RalfJung@rustbot@rust-log-analyzer@bors@michaelwoerister