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

Rollup of 17 pull requests #49051

Merged
merged 47 commits into from
Mar 16, 2018
Merged

Rollup of 17 pull requests #49051

merged 47 commits into from
Mar 16, 2018

Commits on Mar 8, 2018

  1. Configuration menu
    Copy the full SHA
    2bc3f5b View commit details
    Browse the repository at this point in the history
  2. tools/compiletest: add mips64 to ARCH_LIST

    Don't bother distinguishing between big end little endian targets.
    There are currently no tests which need this.
    jcowgill committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    1376bf8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f55819 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dcc438d View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Configuration menu
    Copy the full SHA
    59199eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bceb94e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0863c5 View commit details
    Browse the repository at this point in the history
  4. test: ignore asm tests on mips* which won't work

    "mov" is not a valid assembly mnemonic on mips.
    jcowgill committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    54467ae View commit details
    Browse the repository at this point in the history
  5. test: fix repr-transparent-aggregates test on mips64

    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.
    jcowgill committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    fb806fd View commit details
    Browse the repository at this point in the history
  6. rustbuild: Remove ThinLTO-related configuration

    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.
    alexcrichton committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    ff227c4 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Dedupe rand

    Eijebong committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    a67e072 View commit details
    Browse the repository at this point in the history
  2. rustc: Start a custom cabi module for wasm32

    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
    alexcrichton committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    74f5dd0 View commit details
    Browse the repository at this point in the history
  3. rustc: Add sha to the x86 feature whitelist

    This'll help us bind the [`SHA` intrinsics][intr] in stdsimd!
    
    [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
    alexcrichton committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    0511077 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2018

  1. Configuration menu
    Copy the full SHA
    0ca9a4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a48224b View commit details
    Browse the repository at this point in the history
  3. Add test for issue 48941

    A broken test to be fixed in the next commit.
    ExpHP committed Mar 13, 2018
    Configuration menu
    Copy the full SHA
    decbb83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc96467 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Configuration menu
    Copy the full SHA
    12ac032 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4b7ccb View commit details
    Browse the repository at this point in the history
  3. 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.
    dragan.mladjenovic committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    19b5113 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6aa4dcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b08e6d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2f1b34c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    16d424f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5257275 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2018

  1. Configuration menu
    Copy the full SHA
    b6ec75f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fbdaf4 View commit details
    Browse the repository at this point in the history
  3. setting ABORTING_MALLOC for asmjs backend

    snf committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    9e64946 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#48706 - ehuss:main-not-found-in-crate, r=es…

    …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.
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    a45b79d View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#48875 - jcowgill:mips-test-fixes, r=sanxiyn

    MIPS testsuite fixes
    
    This PR adjusts various bits in the testsuite so that more stuff passes on mips*.
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    da88827 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#48892 - alexcrichton:thinlto-again, r=Mark-…

    …Simulacrum
    
    rustbuild: Remove ThinLTO-related configuration
    
    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.
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    68a602e View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#48922 - petrochenkov:asunder, r=nikomatsakis

    Implement import renaming with `_` (RFC 2166)
    
    cc rust-lang#48216
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    e1d19df View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    35b008c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#48959 - alexcrichton:signext, r=eddyb

    rustc: Start a custom cabi module for wasm32
    
    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
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    292c6ca View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#48961 - Songbird0:rustdoc_doctests_assertio…

    …ns, r=GuillaumeGomez
    
    Rustdoc: example of use of assertions
    
    I added this section at the beginning of the file because it seems to be basic information. Let me know if there's someplace more relevant.
    
    See rust-lang#47945.
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    97b489e View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#48965 - alexcrichton:add-sha-feature, r=eddyb

    rustc: Add `sha` to the x86 feature whitelist
    
    This'll help us bind the [`SHA` intrinsics][intr] in stdsimd!
    
    [intr]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=SHA
    kennytm authored Mar 15, 2018
    Configuration menu
    Copy the full SHA
    bf270bb View commit details
    Browse the repository at this point in the history
  12. Improve AddrParseError documentation.

    Add a potential cause to `AddrParseError` raising.
    Songbird0 committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    5e991e1 View commit details
    Browse the repository at this point in the history
  13. Coherence diagnostic tweaks

    estebank committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    4d5cd21 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#49007 - estebank:follow-up-47574, r=oli-obk

    Some tweaks to "type parameters from outer function" diagnostic
    
    Follow up to rust-lang#47574.
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    5a7aa6c View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#49024 - draganmladjenovic:mips64_cabi_sret,…

    … 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.
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    77cf02d View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#49042 - kennytm:fix-e0307-typo, r=rkruppe

    Remove unnecessary "`" in error message E0307 (invalid self type).
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    55a0075 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#49050 - snf:fix_oom_asmjs, r=alexcrichton

    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.
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    90230ce View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#48853 - Songbird0:addrparseerror_documentat…

    …ion_improvement, r=GuillaumeGomez
    
    Improve `AddrParseError` documentation.
    
    I've added potential cause to `AddrParseError` raising.
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    6fbd033 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#48990 - ExpHP:dont-drop-the-bomb, r=estebank

    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
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    64490ff View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#49037 - estebank:coherence-tweaks, r=nikoma…

    …tsakis
    
    Coherence diagnostic tweaks
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    a199fb2 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#49049 - Centril:fix/flatten-fusediterator, …

    …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.
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    fb49ae0 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#48972 - mark-i-m:rustdoc_readme, r=QuietMis…

    …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
    kennytm committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    db2f0ae View commit details
    Browse the repository at this point in the history