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

Adds regression test for #16223: fixed by NLL #49780

Closed
wants to merge 4 commits into from

Conversation

Robbepop
Copy link
Contributor

@Robbepop Robbepop commented Apr 8, 2018

Adds regression test for #16223 which NLL fixes.

The current downside of this test is that it uses the #![feature(box_patterns)] and I haven't come up with a proper test that only uses the #![feature(nll)] - however, I don't know if this is even possible to test without #![feature(box_syntax)] or #![feature(box_patterns)].

glandium and others added 4 commits April 8, 2018 11:21
ef8804b addressed rust-lang#30170 by rejecting
huge alignments at the allocator API level, transforming a specific
platform bug/limitation into an enforced API limitation on all
platforms.

This change essentially reverts that commit, and instead makes alloc()
itself return AllocErr::Unsupported when receiving huge alignments.

This was discussed in rust-lang#32838 (comment)
and following.
Ideally I'd like to soon enable sccache for rustbuild itself and some of the
stage0 tools, but for that to work we'll need some better Rust support than the
pretty old version we were previously using!
@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @kennytm (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 8, 2018
@Robbepop
Copy link
Contributor Author

Robbepop commented Apr 8, 2018

Sorry something bad happened.

@Robbepop Robbepop closed this Apr 8, 2018
@Robbepop Robbepop deleted the test-regression-16223 branch April 8, 2018 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants