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] Rollup of 2 pull requests #41051

Merged
merged 7 commits into from
Apr 4, 2017
Merged

[beta] Rollup of 2 pull requests #41051

merged 7 commits into from
Apr 4, 2017

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Apr 3, 2017

arielb1 and others added 7 commits April 2, 2017 17:18
When the Range expression is the root of a constant, its node-id is
used for the def-id of the body, so it has to be preserved in the AST ->
HIR lowering.

Fixes rust-lang#40749.
LLVM has a bug - PR32488 - where it fails to deduplicate allocas in some
circumstances. The function `start_new_block` has allocas totalling 1216
bytes, and when LLVM inlines several copies of that function into
the recursive function `expr::into`, that function's stack space usage
goes into tens of kiBs, causing stack overflows.

Mark `start_new_block` as inline(never) to keep it from being inlined,
getting stack usage under control.

Fixes rust-lang#40493.
Fixes rust-lang#40573.
Looks like the last version was built with mio 0.6.5 which now has known bugs
against it. This build includes mio 0.6.6
@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 @nrc (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
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!

@frewsxcv
Copy link
Member Author

frewsxcv commented Apr 3, 2017

@bors r+ p=15

@bors
Copy link
Contributor

bors commented Apr 3, 2017

📌 Commit 68fcad8 has been approved by frewsxcv

@frewsxcv frewsxcv changed the title Rollup of 2 pull requests [beta] Rollup of 2 pull requests Apr 3, 2017
@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge 66d192e...

@bors
Copy link
Contributor

bors commented Apr 4, 2017

💔 Test failed - status-appveyor

@alexcrichton
Copy link
Member

alexcrichton commented Apr 4, 2017 via email

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge 368d709...

@bors
Copy link
Contributor

bors commented Apr 4, 2017

💔 Test failed - status-travis

@frewsxcv
Copy link
Member Author

frewsxcv commented Apr 4, 2017

[  9%] Linking CXX static library ../libLLVMSupport.a

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o has no symbols

[  9%] Built target LLVMSupport

make[1]: *** [all] Error 2

thread 'main' panicked at '

command did not execute successfully, got: exit code: 2

build script failed, must exit now', /Users/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.21/src/lib.rs:605

note: Run with `RUST_BACKTRACE=1` for a backtrace.

	finished in 72.799

Build completed unsuccessfully in 0:01:32

make: *** [all] Error 101

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge f5a87a6...

@bors
Copy link
Contributor

bors commented Apr 4, 2017

💔 Test failed - status-travis

@frewsxcv
Copy link
Member Author

frewsxcv commented Apr 4, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge ebbe365...

@TimNN
Copy link
Contributor

TimNN commented Apr 4, 2017

@bors retry

(Try #41045 again first, to hopefully prevent any caches from possibly being invalidated by building another branch).

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge fced6c1...

@TimNN
Copy link
Contributor

TimNN commented Apr 4, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge 44bf84f...

@TimNN
Copy link
Contributor

TimNN commented Apr 4, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge dcee285...

@TimNN
Copy link
Contributor

TimNN commented Apr 4, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge 0973bd0...

@TimNN
Copy link
Contributor

TimNN commented Apr 4, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Apr 4, 2017

⌛ Testing commit 68fcad8 with merge 06ad8e4...

bors added a commit that referenced this pull request Apr 4, 2017
[beta] Rollup of 2 pull requests

- Successful merges: #41016, #41048
- Failed merges:
@bors
Copy link
Contributor

bors commented Apr 4, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: frewsxcv
Pushing 06ad8e4 to beta...

@bors bors merged commit 68fcad8 into rust-lang:beta Apr 4, 2017
@frewsxcv frewsxcv deleted the rollup branch April 4, 2017 15:47
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants