Skip to content

read_c_str should call the AllocationExtra hooks - #56210

Merged
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:c_str
Nov 25, 2018
Merged

read_c_str should call the AllocationExtra hooks#56210
bors merged 4 commits into
rust-lang:masterfrom
RalfJung:c_str

Conversation

@RalfJung

@RalfJungRalfJung commented Nov 25, 2018

Copy link
Copy Markdown
Member

I just hope we do not have other methods that bypass get_bytes/get_bytes_mut... (looking over the file, I could not find any)

r? @oli-obk

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

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Nov 25, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 0fac350 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 Nov 25, 2018
@RalfJung

Copy link
Copy Markdown
MemberAuthor

@oli-obk found a bug and fixed it, could you review the latest commit as well?

Comment threadsrc/librustc/mir/interpret/allocation.rs Outdated
Co-Authored-By: RalfJung <post@ralfj.de>
@oli-obk

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Nov 25, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 2472e83 has been approved by oli-obk

emilyalbini added a commit to emilyalbini/rust that referenced this pull request Nov 25, 2018
read_c_str should call the AllocationExtra hooks
I just hope we do not have other methods that bypass `get_bytes`/`get_bytes_mut`... (looking over the file, I could not find any)
r? @oli-obk
bors added a commit that referenced this pull request Nov 25, 2018
Rollup of 14 pull requests
Successful merges:
- #56024 (Don't auto-inline const functions)
- #56045 (Check arg/ret sizedness at ExprKind::Path)
- #56072 (Stabilize macro_literal_matcher)
- #56075 (Encode a custom "producers" section in wasm files)
- #56100 (generator fields are not necessarily initialized)
- #56101 (Incorporate `dyn` into more comments and docs.)
- #56144 (Fix BTreeSet and BTreeMap gdb pretty-printers)
- #56151 (Move a flaky process test out of libstd)
- #56170 (Fix self profiler ICE on Windows)
- #56176 (Panic setup msg)
- #56204 (Suggest correct enum variant on typo)
- #56207 (Stabilize the int_to_from_bytes feature)
- #56210 (read_c_str should call the AllocationExtra hooks)
- #56211 ([master] Forward-ports from beta)
Failed merges:
r? @ghost
@bors
bors merged commit 2472e83 into rust-lang:masterNov 25, 2018
@RalfJung
RalfJung deleted the c_str branch November 30, 2018 08:28
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.

4 participants

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