Skip to content

interpret: refactor allocation info query - #98563

Merged
bors merged 2 commits into
rust-lang:masterfrom
RalfJung:interpret-alloc-check
Jun 28, 2022
Merged

interpret: refactor allocation info query#98563
bors merged 2 commits into
rust-lang:masterfrom
RalfJung:interpret-alloc-check

Conversation

@RalfJung

Copy link
Copy Markdown
Member

We now have an infallible function that also tells us which kind of allocation we are talking about.
Also we do longer have to distinguish between data and function allocations for liveness.

This will help us to avoid "catching" InterpErrors in Miri.
r? @oli-obk

We now have an infallible function that also tells us which kind of allocation we are talking about.
Also we do longer have to distinguish between data and function allocations for liveness.
@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 27, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occured to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 27, 2022
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jun 27, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit b094116 has been approved by oli-obk

@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 27, 2022
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Jun 27, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 8e73c3e has been approved by oli-obk

@RalfJung
RalfJungforce-pushed the interpret-alloc-check branch from 8e73c3e to b094116CompareJune 27, 2022 16:56
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@bors r=oli-obk

@bors

bors commented Jun 27, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 8e73c3e has been approved by oli-obk

bors added a commit to rust-lang-ci/rust that referenced this pull request Jun 27, 2022
…askrgr
Rollup of 9 pull requests
Successful merges:
- rust-lang#98331 (Fix rustdoc argument error)
- rust-lang#98506 (Fix span issues in object safety suggestions)
- rust-lang#98563 (interpret: refactor allocation info query)
- rust-lang#98576 (small regions refactoring)
- rust-lang#98577 (Fix "kind" for associated types in trait implementations in rustdoc JSON)
- rust-lang#98578 (Remove eddyb from miri failure pings)
- rust-lang#98579 (liballoc tests: avoid int2ptr cast)
- rust-lang#98581 (Add triagebot mentions.)
- rust-lang#98587 (libcore tests: avoid int2ptr casts)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 4f61fe2 into rust-lang:masterJun 28, 2022
@rustbotrustbot added this to the 1.64.0 milestone Jun 28, 2022
@RalfJung
RalfJung deleted the interpret-alloc-check branch June 28, 2022 01:59
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.

5 participants

@RalfJung@rust-highfive@oli-obk@bors@rustbot