Skip to content

add method to get the mutability of an AllocId - #100181

Merged
bors merged 2 commits into
rust-lang:masterfrom
RalfJung:alloc-ref-mutability
Aug 9, 2022
Merged

add method to get the mutability of an AllocId#100181
bors merged 2 commits into
rust-lang:masterfrom
RalfJung:alloc-ref-mutability

Conversation

@RalfJung

Copy link
Copy Markdown
Member

Miri needs this for rust-lang/miri#2463.

@rustbotrustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Aug 5, 2022
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @jackh726

(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 Aug 5, 2022
@RalfJung
RalfJungforce-pushed the alloc-ref-mutability branch from 6b625cd to 36533d7CompareAugust 5, 2022 21:48
@rustbotrustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Aug 5, 2022
@RalfJungRalfJung changed the title add method to get the mutability of an AllocRefadd method to get the mutability of an AllocIdAug 5, 2022
@RalfJung
RalfJungforce-pushed the alloc-ref-mutability branch from 36533d7 to 72e5d53CompareAugust 5, 2022 21:49
@RalfJung
RalfJungforce-pushed the alloc-ref-mutability branch from 72e5d53 to 54b122eCompareAugust 5, 2022 21:59
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@lcnr maybe I could ask you to take a look at this one?

Comment threadsrc/bootstrap/test.rs
Comment on lines +631 to +634
// propagate --bless
if builder.config.cmd.bless() {
cargo.env("MIRI_BLESS", "Gesundheit");
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems unrelated?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

Yeah it is. It makes Miri's test suite bless work with x.py --bless. Didn't seem significant enough for its own PR, but I can split it if you prefer.

@jackh726

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Aug 7, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 54b122e has been approved by jackh726

It is now in the queue for this repository.

@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 Aug 7, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 8, 2022
…ackh726
add method to get the mutability of an AllocId
Miri needs this for rust-lang/miri#2463.
@Dylan-DPCDylan-DPC mentioned this pull request Aug 9, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 9, 2022
Rollup of 7 pull requests
Successful merges:
- rust-lang#96478 (Implement `#[rustc_default_body_unstable]`)
- rust-lang#99787 (Rustdoc-Json: Document HRTB's on DynTrait)
- rust-lang#100181 (add method to get the mutability of an AllocId)
- rust-lang#100221 (Don't document impossible to call default trait items on impls)
- rust-lang#100228 (Don't ICE while suggesting updating item path.)
- rust-lang#100301 (Avoid `&str` to `String` conversions)
- rust-lang#100305 (Suggest adding an appropriate missing pattern excluding comments)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 7efe24c into rust-lang:masterAug 9, 2022
@rustbotrustbot added this to the 1.65.0 milestone Aug 9, 2022
bors added a commit to rust-lang/miri that referenced this pull request Aug 9, 2022
@RalfJung
RalfJung deleted the alloc-ref-mutability branch August 11, 2022 11:22
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-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)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@rustbot@rust-highfive@jackh726@bors