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 11 pull requests #76394

Closed
wants to merge 25 commits into from

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    81e85ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b75e3d View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

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

Commits on Sep 3, 2020

  1. Add missing link in README

    camelid committed Sep 3, 2020
    Configuration menu
    Copy the full SHA
    8783c62 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e29fdb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    791f93c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2278c72 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Configuration menu
    Copy the full SHA
    2bc4c03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2fbf39 View commit details
    Browse the repository at this point in the history
  3. Account for version number in NtIdent hack

    Issue rust-lang#74616 tracks a backwards-compatibility hack for certain macros.
    This has is implemented by hard-coding the filenames and macro names of
    certain code that we want to continue to compile.
    
    However, the initial implementation of the hack was based on the
    directory structure when building the crate from its repository (e.g.
    `js-sys/src/lib.rs`). When the crate is build as a dependency, it will
    include a version number from the clone from the cargo registry (e.g.
    `js-sys-0.3.17/src/lib.rs`), which would fail the check.
    
    This commit modifies the backwards-compatibility hack to check that
    desired crate name (`js-sys` or `time-macros-impl`) is a prefix of the
    proper part of the path.
    
    See rust-lang#76070 (comment)
    for more details.
    Aaron1011 committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    9e7ef65 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2020

  1. Configuration menu
    Copy the full SHA
    578e714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e56ea68 View commit details
    Browse the repository at this point in the history
  3. Improve the documentation of filter() and filter_map().

    I believe the documentation is currently a little misleading.
    
    For example, in the docs for `filter()`:
    
    > If the closure returns `false`, it will try again, and call the closure on
    > the next element, seeing if it passes the test.
    
    This kind of implies that if the closure returns true then we *don't* "try
    again" and no further elements are considered. In actuality that's not the
    case, every element is tried regardless of what happened with the previous
    element.
    
    This change tries to clarify that by removing the uses of "try again"
    altogether.
    vext01 committed Sep 5, 2020
    Configuration menu
    Copy the full SHA
    8af85fa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    39a3517 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#75949 - vext01:filter-docs, r=jyn514

    Try to improve the documentation of `filter()` and `filter_map()`.
    
    I believe the documentation is currently a little misleading.
    
    For example, in the docs for `filter()`:
    
    > If the closure returns `false`, it will try again, and call the closure on
    > the next element, seeing if it passes the test.
    
    This kind of implies that if the closure returns true then we *don't* "try
    again" and no further elements are considered. In actuality that's not the
    case, every element is tried regardless of what happened with the previous
    element.
    
    This change tries to clarify that by removing the uses of "try again"
    altogether.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    bdb8d48 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#76128 - poliorcetics:doc-use-arc-clone, r=K…

    …odrAus
    
    Use Arc::clone and Rc::clone in documentation
    
    This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
    
    @rustbot modify labels: T-doc
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    54cf3aa View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#76157 - ArekPiekarz:const_caller_location_t…

    …racking_issue, r=joshtriplett
    
    Update tracking issue for const_caller_location
    
    Update the tracking issue to rust-lang#76156, as suggested in rust-lang#76105.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    8ea2087 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#76229 - camelid:patch-3, r=jonas-schievink

    Add missing link in README
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    91df663 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#76273 - CraftSpider:master, r=matklad

    Move some Vec UI tests into alloc unit tests
    
    A bit of work towards rust-lang#76268, makes a number of the Vec UI tests that are simply running code into unit tests. Ensured that they are being run when testing liballoc locally.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    a8a0689 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#76274 - scottmcm:fix-76271, r=petrochenkov

    Allow try blocks as the argument to return expressions
    
    Fixes rust-lang#76271
    
    I don't think this needs to be edition-aware (phew) since `return try` in 2015 is also the start of an expression, just with a struct literal instead of a block (`return try { x: 4, y: 5 }`).
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    41eb03b View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#76307 - sunfishcode:wasm-no-eh-frame-header…

    …, r=alexcrichton
    
    Disable use of `--eh-frame-hdr` on wasm32.
    
    Set wasm32's `TargetOptions::eh_frame_header` to false so that we don't pass `--eh-frame-hdr` to `wasm-ld`, which doesn't support that flag.
    
    r? @alexcrichton
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    9310922 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#76326 - mati865:use_lld-no-linker, r=Mark-S…

    …imulacrum
    
    Fix rust.use-lld when linker is not set
    
    Fixes rust-lang#76127 (comment)
    
    Previously when `[<target>].linker` was not configured `rust.use-lld` would set it to `rust-lld` on platforms where it should not.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    18b785e View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#76331 - Aaron1011:fix/group-compat-hack-tes…

    …t, r=petrochenkov
    
    Account for version number in NtIdent hack
    
    Issue rust-lang#74616 tracks a backwards-compatibility hack for certain macros.
    This has is implemented by hard-coding the filenames and macro names of
    certain code that we want to continue to compile.
    
    However, the initial implementation of the hack was based on the
    directory structure when building the crate from its repository (e.g.
    `js-sys/src/lib.rs`). When the crate is build as a dependency, it will
    include a version number from the clone from the cargo registry (e.g.
    `js-sys-0.3.17/src/lib.rs`), which would fail the check.
    
    This commit modifies the backwards-compatibility hack to check that
    desired crate name (`js-sys` or `time-macros-impl`) is a prefix of the
    proper part of the path.
    
    See rust-lang#76070 (comment)
    for more details.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    c9eb60f View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#76341 - richkadel:ignore-gcc-destructor-pri…

    …ority, r=cuviper
    
    Update llvm-project to include PR 73
    
    rust-lang/llvm-project#73
    
    r? @cuviper
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    c20add7 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#76370 - fusion-engineering-forks:synconcece…

    …ll-soundness, r=nagisa
    
    Fix dropck issue of SyncOnceCell.
    
    Fixes rust-lang#76367.
    Dylan-DPC authored Sep 5, 2020
    Configuration menu
    Copy the full SHA
    5910882 View commit details
    Browse the repository at this point in the history