Skip to content

miri: add write_bytes method to Memory doing bounds-checks and supporting iterators - #65621

Merged
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:write_bytes
Oct 22, 2019
Merged

miri: add write_bytes method to Memory doing bounds-checks and supporting iterators#65621
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:write_bytes

Conversation

@RalfJung

Copy link
Copy Markdown
Member

This lets us avoid some direct Allocation accesses in Miri.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @varkor

(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 Oct 20, 2019
@RalfJung

Copy link
Copy Markdown
MemberAuthor

r? @oli-obk

@RalfJungRalfJung changed the title miri add write_bytes method to Memory doing bounds-checks and supporting iteratorsmiri: add write_bytes method to Memory doing bounds-checks and supporting iteratorsOct 20, 2019
Comment threadsrc/librustc/mir/interpret/allocation.rs
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Oct 21, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit f6d70b4 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 Oct 21, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 21, 2019
miri: add write_bytes method to Memory doing bounds-checks and supporting iterators
This lets us avoid some direct `Allocation` accesses in Miri.
@CentrilCentril mentioned this pull request Oct 21, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 21, 2019
miri: add write_bytes method to Memory doing bounds-checks and supporting iterators
This lets us avoid some direct `Allocation` accesses in Miri.
@CentrilCentril mentioned this pull request Oct 21, 2019
bors added a commit that referenced this pull request Oct 22, 2019
Rollup of 7 pull requests
Successful merges:
- #62330 (Change untagged_unions to not allow union fields with drop)
- #65092 (make is_power_of_two a const function)
- #65621 (miri: add write_bytes method to Memory doing bounds-checks and supporting iterators)
- #65647 (Remove unnecessary trait bounds and derivations)
- #65653 (keep the root dir clean from debugging)
- #65660 (Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)`)
- #65663 (Fix typo from #65214)
Failed merges:
r? @ghost
@bors
bors merged commit f6d70b4 into rust-lang:masterOct 22, 2019
@RalfJung
RalfJung deleted the write_bytes branch October 22, 2019 07:33
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@RalfJung@rust-highfive@oli-obk@bors@pvdrz@varkor