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

[beta] next #40046

Merged
merged 19 commits into from
Mar 2, 2017
Merged

[beta] next #40046

merged 19 commits into from
Mar 2, 2017

Conversation

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
Collaborator

r? @pnkfelix

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

@rust-highfive
Copy link
Collaborator

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
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Feb 23, 2017

📌 Commit e7235d3 has been approved by alexcrichton

@alexcrichton
Copy link
Member

@bors: p=1

(beta branch_

@bors
Copy link
Contributor

bors commented Feb 23, 2017

⌛ Testing commit e7235d3 with merge a925124...

@bors
Copy link
Contributor

bors commented Feb 23, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Feb 23, 2017 via email

@nikomatsakis
Copy link
Contributor

@brson diff looks ok to me re: that commit

@bors
Copy link
Contributor

bors commented Feb 24, 2017

⌛ Testing commit e7235d3 with merge da59c36...

@bors
Copy link
Contributor

bors commented Feb 24, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Feb 24, 2017 via email

@alexcrichton
Copy link
Member

alexcrichton commented Feb 26, 2017 via email

@bors
Copy link
Contributor

bors commented Feb 26, 2017

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

@bors
Copy link
Contributor

bors commented Feb 26, 2017

💔 Test failed - status-travis

@eddyb
Copy link
Member

eddyb commented Feb 26, 2017

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

@alexcrichton
Copy link
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
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Feb 28, 2017

📌 Commit f0477b2 has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Feb 28, 2017

⌛ Testing commit f0477b2 with merge 5fee06b...

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Feb 28, 2017

💔 Test failed - status-travis

@bors
Copy link
Contributor

bors commented Feb 28, 2017

⌛ Testing commit f0477b2 with merge 8c56af1...

@bors
Copy link
Contributor

bors commented Feb 28, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Member

alexcrichton commented Feb 28, 2017 via email

@bors
Copy link
Contributor

bors commented Feb 28, 2017

⌛ Testing commit f0477b2 with merge 68f8347...

@bors
Copy link
Contributor

bors commented Mar 1, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

@bors: retry

  • nothing failed?

@bors
Copy link
Contributor

bors commented Mar 1, 2017

⌛ Testing commit f0477b2 with merge 9c10139...

@bors
Copy link
Contributor

bors commented Mar 1, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
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
Copy link
Member

alexcrichton commented Mar 1, 2017 via email

@bors
Copy link
Contributor

bors commented Mar 2, 2017

⌛ 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
Copy link
Contributor

bors commented Mar 2, 2017

☀️ 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.