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 4 pull requests #70474

Merged
merged 12 commits into from
Mar 27, 2020
Merged

Rollup of 4 pull requests #70474

merged 12 commits into from
Mar 27, 2020

Commits on Mar 17, 2020

  1. use "gcc" instead of "cc" on *-sun-solaris systems when linking

    On illumos and Solaris systems, Rust will use GCC as the link editor.
    Rust does this by invoking "cc", which on many (Linux and perhaps BSD)
    systems is generally either GCC or a GCC-compatible front-end.  On
    historical Solaris systems, "cc" was often the Sun Studio compiler.
    This history casts a long shadow, and as such, even most modern
    illumos-based operating systems tend to install GCC as "gcc", without
    also making it available as "cc".
    
    We should invoke GCC as "gcc" on such systems to ensure we get the right
    compiler driver.
    jclulow committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    a83e6c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c191c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Add fold_self

    - Added `Iterator::fold_first`, which is like `fold`, but uses the first element in the iterator as the initial accumulator
    - Includes doc and doctest
    - Rebase commit; see rust-lang#65222 for details
    
    Co-Authored-By: Tim Vermeulen <tvermeulen@me.com>
    2 people authored and Dylan-DPC committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    9b429fd View commit details
    Browse the repository at this point in the history
  2. fix docs

    Dylan-DPC committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    a9a2a31 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. simplify test

    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    7e7c2f1 View commit details
    Browse the repository at this point in the history
  2. remove unused import

    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    268408f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    346bc41 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    88100ba View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#65222 - Lucretiel:fold_self, r=kodrAus

    Proposal: `fold_self` and `try_fold_self` for Iterators
    
    This pull request proposes & implements two new methods on Iterators: `fold_self` and `try_fold_self`. These are variants of `fold` and `try_fold` that use the first element in the iterator as the initial accumulator.
    
    Let me know if a public feature like this requires an RFC, or if this pull request is sufficient as place for discussion.
    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    87fdf35 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#69887 - GuillaumeGomez:cleanup-e0404, r=Dyl…

    …an-DPC
    
    clean up E0404 explanation
    
    r? @Dylan-DPC
    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    6b6c470 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#70068 - jclulow:illumos-gcc, r=cramertj

    use "gcc" instead of "cc" on *-sun-solaris systems when linking
    
    On illumos and Solaris systems, Rust will use GCC as the link editor.
    Rust does this by invoking "cc", which on many (Linux and perhaps BSD)
    systems is generally either GCC or a GCC-compatible front-end.  On
    historical Solaris systems, "cc" was often the Sun Studio compiler.
    This history casts a long shadow, and as such, even most modern
    illumos-based operating systems tend to install GCC as "gcc", without
    also making it available as "cc".
    
    We should invoke GCC as "gcc" on such systems to ensure we get the right
    compiler driver.
    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    4d079a8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#70470 - GuillaumeGomez:cleanup-e0463, r=Dyl…

    …an-DPC
    
    Clean up E0463 explanation
    
    r? @Dylan-DPC
    Dylan-DPC committed Mar 27, 2020
    Configuration menu
    Copy the full SHA
    3de5a89 View commit details
    Browse the repository at this point in the history