-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Rollup of 17 pull requests #49051
Merged
Merged
Rollup of 17 pull requests #49051
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don't bother distinguishing between big end little endian targets. There are currently no tests which need this.
"mov" is not a valid assembly mnemonic on mips.
Since rust-lang#47964 was merged, 64-bit mips started passing all structures using 64-bit chunks regardless of their contents. The repr-transparent-aggregates tests needs updating to cope with this.
This commit removes some ThinLTO/codegen unit cruft primarily only needed during the initial phase where we were adding ThinLTO support to rustc itself. The current bootstrap compiler knows about ThinLTO and has it enabled by default for multi-CGU builds which are also enabled by default. One CGU builds (aka disabling ThinLTO) can be achieved by configuring the number of codegen units to 1 for a particular builds. This also changes the defaults for our dist builders to go back to multiple CGUs. Unfortunately we're seriously bleeding for cycle time on the bots right now so we need to recover any time we can.
It actually was already using the `cabi_asmjs` module but that was by accident, so route the new `wasm32-unknown-unknown` target to a new `cabi_wasm32` module. The first entries in this module are to use `signext` and `zeroext` for types that are under 32 bytes in size Closes rust-lang-nursery/rust-wasm#88
This'll help us bind the [`SHA` intrinsics][intr] in stdsimd! [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
A broken test to be fixed in the next commit.
Current model of threating small aggregate returns as smallest encompassing integer works only for little-endian mips64. The patch forces small aggregate return values to be viewed as one or two i64 chunks leaving to the casting implementation to handle endianes differences.
…tebank Add crate name to "main function not found" error message. Fixes rust-lang#44798 and rust-lang/cargo#4948. I was wondering if it might be cleaner to update the ui tests to add a simple `fn main() {}` for the unrelated tests. Let me know if you would prefer that.
MIPS testsuite fixes This PR adjusts various bits in the testsuite so that more stuff passes on mips*.
… r=sanxiyn rustc_trans: fix small aggregate returns for big-endian mips64 FFI Current model of threating small aggregate returns as smallest encompassing integer works only for little-endian mips64. The patch forces small aggregate return values to be viewed as one or two i64 chunks leaving to the casting implementation to handle endianes differences.
Remove unnecessary "`" in error message E0307 (invalid self type).
setting ABORTING_MALLOC=0 for asmjs backend This changes the behaviour of the allocator for asmjs backend. It will return NULL on OOM instead of aborting and let Rust choose the behaviour. Fixes rust-lang#48968 and enables try_reserve (fallible allocation) in asmjs.
…ion_improvement, r=GuillaumeGomez Improve `AddrParseError` documentation. I've added potential cause to `AddrParseError` raising.
Fix ICE on malformed plugin attributes See rust-lang#48941 for some discussion. This bug had several duplicate reports which were never closed as dupes: Fixes rust-lang#47612 Fixes rust-lang#48387 Fixes rust-lang#48941 Fixes rust-lang#48982
…tsakis Coherence diagnostic tweaks
…r=bluss Unstabilize FusedIterator for Flatten since Flatten is unstable PR rust-lang#47463 made `impl<I, U> FusedIterator for Flatten<I>` stable but shouldn't have since `Flatten` is still unstable. This PR makes the impl unstable again.
📌 Commit fb49ae0 has been approved by |
bors
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
Mar 15, 2018
…dreavus Move librustdoc readme to rustc guide cc rust-lang/rustc-dev-guide#2 and rust-lang#48478 Don't merge this before rust-lang/rustc-dev-guide#86
📌 Commit db2f0ae has been approved by |
bors
added a commit
that referenced
this pull request
Mar 16, 2018
☀️ Test successful - status-appveyor, status-travis |
This was referenced Mar 16, 2018
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
S-waiting-on-bors
Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
_
(RFC 2166) #48922, Dedupe rand #48957, rustc: Start a custom cabi module for wasm32 #48959, Rustdoc: example of use of assertions #48961, rustc: Addsha
to the x86 feature whitelist #48965, Some tweaks to "type parameters from outer function" diagnostic #49007, rustc_trans: fix small aggregate returns for big-endian mips64 FFI #49024, Remove unnecessary "`" in error message E0307 (invalid self type). #49042, setting ABORTING_MALLOC=0 for asmjs backend #49050, ImproveAddrParseError
documentation. #48853, Fix ICE on malformed plugin attributes #48990, Coherence diagnostic tweaks #49037, Unstabilize FusedIterator for Flatten since Flatten is unstable #49049, Move librustdoc readme to rustc guide #48972