Skip to content

[beta] next#40046

Merged
bors merged 19 commits into
rust-lang:betafrom
brson:beta-next
Mar 2, 2017
Merged

[beta] next#40046
bors merged 19 commits into
rust-lang:betafrom
brson:beta-next

Conversation

@brson

@brson brson commented Feb 23, 2017

Copy link
Copy Markdown
Contributor

nikomatsakis and others added 15 commits February 23, 2017 02:21
These are some samples that I have been focusing on improving over
time. In this PR, I mainly want to stem the bleeding where we in some
cases we show an error that gives you no possible way to divine the
problem.
According to the LLVM reference:
> A value of 0 or an omitted align argument means that the operation has
the ABI alignment for the target.

So loads/stores of fields of packed structs need to have their align set
to 1. Implement that by tracking the alignment of `LvalueRef`s.

Fixes rust-lang#39376.
The function was a footgun because it created `undef` references to
ZSTs, which could cause trouble were they to leak to user code.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive

Copy link
Copy Markdown
Contributor

warning Warning warning

  • Pull requests are usually filed against the master branch for this repo, but this one is against beta. Please double check that you specified the right target!

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit e7235d3 has been approved by alexcrichton

@alexcrichton

Copy link
Copy Markdown
Member

@bors: p=1

(beta branch_

@bors

bors commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e7235d3 with merge a925124...

@bors

bors commented Feb 23, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

alexcrichton commented Feb 23, 2017 via email

Copy link
Copy Markdown
Member

@nikomatsakis

Copy link
Copy Markdown
Contributor

@brson diff looks ok to me re: that commit

@bors

bors commented Feb 24, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit e7235d3 with merge da59c36...

@bors

bors commented Feb 24, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

alexcrichton commented Feb 24, 2017 via email

Copy link
Copy Markdown
Member

@alexcrichton

alexcrichton commented Feb 26, 2017 via email

Copy link
Copy Markdown
Member

@bors

bors commented Feb 26, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 625f598 with merge 6a56824...

@bors

bors commented Feb 26, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@eddyb

eddyb commented Feb 26, 2017

Copy link
Copy Markdown
Contributor

mkdir: cannot create directory ‘deploy’: No space left on device

@alexcrichton

Copy link
Copy Markdown
Member

Attempting to handle in #40135

PRs can't land againt beta right now because the android bot is filling up on
disk space. I don't really know what's going on but the android bot is the
longest one to run anyway so it'll benefit from being split up regardless.
@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit f0477b2 has been approved by alexcrichton

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f0477b2 with merge 5fee06b...

@alexcrichton

Copy link
Copy Markdown
Member

@bors: retry

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f0477b2 with merge 8c56af1...

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-appveyor

@alexcrichton

alexcrichton commented Feb 28, 2017 via email

Copy link
Copy Markdown
Member

@bors

bors commented Feb 28, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f0477b2 with merge 68f8347...

@bors

bors commented Mar 1, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

Copy link
Copy Markdown
Member

@bors: retry

  • nothing failed?

@bors

bors commented Mar 1, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f0477b2 with merge 9c10139...

@bors

bors commented Mar 1, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

Copy link
Copy Markdown
Member

My guess is that it's yet another spurious failure, but I can't read the logs, so I'll wait to find out.

@alexcrichton

alexcrichton commented Mar 1, 2017 via email

Copy link
Copy Markdown
Member

@bors

bors commented Mar 2, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit f0477b2 with merge ecbf0b5...

bors added a commit that referenced this pull request Mar 2, 2017
[beta] next

- #39913
- #39730
- #39674
- #39602
- #39586
- #39471
- #39980
- #40020
- #40135

@nikomatsakis [this commit](3787d33) did not pick cleanly. You might peek at it.

I took the liberty of accepting all the nominations myself, but the [packed struct alignment](#39586) PR is quite large. It did pick fine though and there's a comment there suggesting it works on beta cc @rust-lang/compiler.

cc @alexcrichton
@bors

bors commented Mar 2, 2017

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing ecbf0b5 to beta...

@bors bors merged commit f0477b2 into rust-lang:beta Mar 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.