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 9 pull requests #83294

Closed
wants to merge 18 commits into from
Closed

Commits on Feb 24, 2021

  1. Configuration menu
    Copy the full SHA
    2cbea9f View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2021

  1. use checkout@v2

    klensy committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    22f2548 View commit details
    Browse the repository at this point in the history
  2. Deprecate std::os::haiku::raw

    bstrie committed Mar 16, 2021
    Configuration menu
    Copy the full SHA
    cad3c42 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2021

  1. Remove unnecessary forward_inner_docs hack

    and replace it with `extended_key_value_attributes` feature.
    jyn514 committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    bb7c04a View commit details
    Browse the repository at this point in the history
  2. Fix gitattibutes for old git versions

    Jethro Beekman committed Mar 17, 2021
    Configuration menu
    Copy the full SHA
    b1de9d4 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Configuration menu
    Copy the full SHA
    458d044 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e322e3 View commit details
    Browse the repository at this point in the history
  3. Fix typo/inaccuracy in the documentation of Iterator::skip_while

    One of the examples used to say “this leads to a possibly confusing situation,
    where the type of the closure is a double reference” while _actually_ referring to
    the type of the closure _argument_.
    steffahn committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    99b2054 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9dfda62 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Rollup merge of rust-lang#82500 - CDirkx:hermit-pipe, r=joshtriplett

    Reuse `std::sys::unsupported::pipe` on `hermit`
    
    Pipes are not supported on `hermit` and `hermit/pipe.rs` is identical to `unsupported/pipe.rs`. This PR reduces duplication between the two by doing the following on `hermit`:
    
    ```rust
    #[path = "../unsupported/pipe.rs"]
    pub mod pipe;
    ```
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    7a3f1a1 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#82892 - jix:clarify-read-read, r=joshtriplett

    Clarify docs for Read::read's return value
    
    Right now the docs for `Read::read`'s return value are phrased in a way that makes it easy for the reader to assume that the return value is never larger than the passed buffer. This PR clarifies that this is a requirement for implementations of the trait, but that callers have to expect a buggy yet safe implementation failing to do so, especially if unchecked accesses to the buffer are done afterwards.
    
    I fell into this trap recently, and when I noticed, I looked at the docs again and had the feeling that I might not have been the first one to miss this.
    
    The same issue of trusting the return value of `read` was also present in std itself for about 2.5 years and only fixed recently, see rust-lang#80895.
    
    I hope that clarifying the docs might help others to avoid this issue.
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    fcebbaf View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#83201 - klensy:checkout-v2, r=pietroalbini

    use checkout@v2 in CI for master
    
    Updates CI workflow to use checkout@v2 from v1 (as other parts of CI) for master, plus slightly faster checkout as result
    compare v2
    https://github.com/rust-lang-ci/rust/commit/2ccf06302c08d7d4911aad40e66a9a3ee731c6f9/checks/2113902859/logs
    and v1 logs
    https://github.com/rust-lang-ci/rust/commit/2ccf06302c08d7d4911aad40e66a9a3ee731c6f9/checks/2115229351/logs
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    7a88557 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#83208 - jethrogb:jb/gitignore, r=Xanewok

    Fix gitattibutes for old git versions
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    f293b01 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#83215 - bstrie:dephaikuraw, r=joshtriplett

    Deprecate std::os::haiku::raw, which accidentally wasn't deprecated
    
    In early 2016, all `std::os::*::raw` modules [were deprecated](rust-lang@aa23c98) in accordance with [RFC 1415](https://github.com/rust-lang/rfcs/blob/master/text/1415-trim-std-os.md). However, at this same time support for Haiku was being added to libstd, landing shortly after the aforementioned commit, and due to some crossed wires a `std::os::haiku::raw` module was added and was not marked as deprecated.
    
    I have been in correspondence with the author of the Haiku patch, ``@nielx,`` who has confirmed that this was simply an oversight and that the definitions from the libc crate should be preferred instead.
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    edd22d7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#83230 - jyn514:remove-macros, r=joshtriplett

    Remove unnecessary `forward_inner_docs` hack
    
    and replace it with `extended_key_value_attributes` feature.
    
    This is rust-lang#79150, but for compiler/.
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    ac5f433 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#83236 - cjgillot:memmap, r=joshtriplett

    Upgrade memmap to memmap2
    
    memmap is no longer maintained. memmap2 is a fork that is still maintained. https://rustsec.org/advisories/RUSTSEC-2020-0077.html
    
    The remaining use of memmap is through measureme.
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    2eb324f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#83269 - bstrie:revertdep, r=m-ou-se

    Revert the second deprecation of collections::Bound
    
    Per the review at rust-lang#82122 (comment) and the decision at https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/unavoidable.20breakage.20when.20deprecating.20an.20enum.3F , revert this small portion of rust-lang#82122 for the time being. This doesn't affect the other components of that patch, i.e. `intrinsics::drop_in_place` is still deprecated-for-real, and uses of `collections::Bound` remain removed from the repo.
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    e22f9fd View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#83270 - steffahn:missing_word_in_skip_while…

    …_doc, r=joshtriplett
    
    Fix typo/inaccuracy in the documentation of Iterator::skip_while
    
    One of the examples used to say “this leads to a possibly confusing situation, where the type of the closure is a double reference” while _actually_ referring to the type of the closure _argument_.
    
    This PR just changes a single word in documentation.
    
    ```@rustbot``` modify labels: A-iterators, T-doc, T-lang
    JohnTitor authored Mar 19, 2021
    Configuration menu
    Copy the full SHA
    6f38617 View commit details
    Browse the repository at this point in the history