Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add method to get the mutability of an AllocId #100181

Merged
merged 2 commits into from
Aug 9, 2022

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Aug 5, 2022

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

@rustbot rustbot 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
Collaborator

rustbot commented Aug 5, 2022

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@rust-highfive
Copy link
Collaborator

r? @jackh726

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 5, 2022
@RalfJung RalfJung force-pushed the alloc-ref-mutability branch from 6b625cd to 36533d7 Compare August 5, 2022 21:48
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Aug 5, 2022
@RalfJung RalfJung changed the title add method to get the mutability of an AllocRef add method to get the mutability of an AllocId Aug 5, 2022
@RalfJung RalfJung force-pushed the alloc-ref-mutability branch from 36533d7 to 72e5d53 Compare August 5, 2022 21:49
@RalfJung RalfJung force-pushed the alloc-ref-mutability branch from 72e5d53 to 54b122e Compare August 5, 2022 21:59
@RalfJung
Copy link
Member Author

RalfJung commented Aug 7, 2022

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

Comment on lines +631 to +634
// propagate --bless
if builder.config.cmd.bless() {
cargo.env("MIRI_BLESS", "Gesundheit");
}
Copy link
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
Member Author

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
Member

jackh726 commented Aug 7, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Aug 7, 2022

📌 Commit 54b122e has been approved by jackh726

It is now in the queue for this repository.

@bors bors 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.
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:master Aug 9, 2022
@rustbot rustbot 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 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-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant 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