-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Rollup of 11 pull requests #76394
Commits on Aug 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 81e85ce - Browse repository at this point
Copy the full SHA 81e85ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b75e3d - Browse repository at this point
Copy the full SHA 6b75e3dView commit details
Commits on Aug 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8142457 - Browse repository at this point
Copy the full SHA 8142457View commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8783c62 - Browse repository at this point
Copy the full SHA 8783c62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e29fdb - Browse repository at this point
Copy the full SHA 3e29fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 791f93c - Browse repository at this point
Copy the full SHA 791f93cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2278c72 - Browse repository at this point
Copy the full SHA 2278c72View commit details
Commits on Sep 4, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2bc4c03 - Browse repository at this point
Copy the full SHA 2bc4c03View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2fbf39 - Browse repository at this point
Copy the full SHA a2fbf39View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 9e7ef65 - Browse repository at this point
Copy the full SHA 9e7ef65View commit details
Commits on Sep 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 578e714 - Browse repository at this point
Copy the full SHA 578e714View commit details -
Configuration menu - View commit details
-
Copy full SHA for e56ea68 - Browse repository at this point
Copy the full SHA e56ea68View commit details -
Improve the documentation of
filter()
andfilter_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.
Configuration menu - View commit details
-
Copy full SHA for 8af85fa - Browse repository at this point
Copy the full SHA 8af85faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a3517 - Browse repository at this point
Copy the full SHA 39a3517View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for bdb8d48 - Browse repository at this point
Copy the full SHA bdb8d48View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 54cf3aa - Browse repository at this point
Copy the full SHA 54cf3aaView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8ea2087 - Browse repository at this point
Copy the full SHA 8ea2087View commit details -
Rollup merge of rust-lang#76229 - camelid:patch-3, r=jonas-schievink
Add missing link in README
Configuration menu - View commit details
-
Copy full SHA for 91df663 - Browse repository at this point
Copy the full SHA 91df663View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a8a0689 - Browse repository at this point
Copy the full SHA a8a0689View commit details -
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 }`).
Configuration menu - View commit details
-
Copy full SHA for 41eb03b - Browse repository at this point
Copy the full SHA 41eb03bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9310922 - Browse repository at this point
Copy the full SHA 9310922View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 18b785e - Browse repository at this point
Copy the full SHA 18b785eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c9eb60f - Browse repository at this point
Copy the full SHA c9eb60fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c20add7 - Browse repository at this point
Copy the full SHA c20add7View commit details -
Rollup merge of rust-lang#76370 - fusion-engineering-forks:synconcece…
…ll-soundness, r=nagisa Fix dropck issue of SyncOnceCell. Fixes rust-lang#76367.
Configuration menu - View commit details
-
Copy full SHA for 5910882 - Browse repository at this point
Copy the full SHA 5910882View commit details