-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 12 pull requests #73779
Rollup of 12 pull requests #73779
Commits on Jun 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b7f2396 - Browse repository at this point
Copy the full SHA b7f2396View commit details
Commits on Jun 20, 2020
-
Add liballoc impl SpecFromElem for i8
Speedup vec![1_i8; N] for non-zero element. Before test do_bench_from_elem_i8 ... bench: 130 ns/iter (+/- 7) = 61 MB/s test do_bench_from_elem_u8 ... bench: 121 ns/iter (+/- 4) = 66 MB/s After test do_bench_from_elem_i8 ... bench: 123 ns/iter (+/- 7) = 65 MB/s test do_bench_from_elem_u8 ... bench: 121 ns/iter (+/- 5) = 66 MB/s No speed difference if element is already zero. #[bench] fn do_bench_from_elem_i8(b: &mut Bencher) { b.bytes = 8 as u64; b.iter(|| { let dst = ve::vec![10_i8; 100]; assert_eq!(dst.len(), 100); assert!(dst.iter().all(|x| *x == 10)); }) } As suggested by @cuviper https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/SpecForElem.20for.20other.20integers
Configuration menu - View commit details
-
Copy full SHA for f66bcc5 - Browse repository at this point
Copy the full SHA f66bcc5View commit details
Commits on Jun 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7cac209 - Browse repository at this point
Copy the full SHA 7cac209View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55d207a - Browse repository at this point
Copy the full SHA 55d207aView commit details -
Co-authored-by: Bastian Kauschke <bastian_kauschke@hotmail.de>
Configuration menu - View commit details
-
Copy full SHA for cb8c94c - Browse repository at this point
Copy the full SHA cb8c94cView commit details
Commits on Jun 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f3b1582 - Browse repository at this point
Copy the full SHA f3b1582View commit details -
Configuration menu - View commit details
-
Copy full SHA for f44b8b9 - Browse repository at this point
Copy the full SHA f44b8b9View commit details
Commits on Jun 25, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 5232e20 - Browse repository at this point
Copy the full SHA 5232e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 343a921 - Browse repository at this point
Copy the full SHA 343a921View commit details -
Configuration menu - View commit details
-
Copy full SHA for db6fa2f - Browse repository at this point
Copy the full SHA db6fa2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b368db - Browse repository at this point
Copy the full SHA 8b368dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a355a2 - Browse repository at this point
Copy the full SHA 1a355a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9af59d - Browse repository at this point
Copy the full SHA f9af59dView commit details
Commits on Jun 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 42062a5 - Browse repository at this point
Copy the full SHA 42062a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f8bec9 - Browse repository at this point
Copy the full SHA 6f8bec9View commit details -
Generate docs for links to private items when passed --document-private
- Pass around document_private a lot more - Add tests + Add tests for intra-doc links to private items + Add ignored tests for warnings in reference links
Configuration menu - View commit details
-
Copy full SHA for 20552c8 - Browse repository at this point
Copy the full SHA 20552c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6742382 - Browse repository at this point
Copy the full SHA 6742382View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb152ea - Browse repository at this point
Copy the full SHA cb152eaView commit details -
Rollup merge of rust-lang#72771 - jyn514:rustdoc, r=Manishearth
Warn if linking to a private item Closes rust-lang#72769 r? @GuillaumeGomez
Configuration menu - View commit details
-
Copy full SHA for 8adc781 - Browse repository at this point
Copy the full SHA 8adc781View commit details -
Rollup merge of rust-lang#72937 - AdrianCX:master, r=nikomatsakis
Fortanix SGX target libunwind build process changes Ticket: fortanix/rust-sgx#174 LLVM related changes (merged): rust-lang/llvm-project#57 Description: libunwind changes needed to run code in sgx environment via rust-sgx. Target that uses this in rust: x86_64-fortanix-unknown-sgx. Without this change, rust std for this toolchain is forced to use a precompiled library loaded via environment variable. With this change we act the same as musl target.
Configuration menu - View commit details
-
Copy full SHA for 38cbf15 - Browse repository at this point
Copy the full SHA 38cbf15View commit details -
Rollup merge of rust-lang#73485 - estebank:dedup-preds, r=nikomatsakis
Perform obligation deduplication to avoid buggy `ExistentialMismatch` Address rust-lang#59326.
Configuration menu - View commit details
-
Copy full SHA for f13d09a - Browse repository at this point
Copy the full SHA f13d09aView commit details -
Rollup merge of rust-lang#73529 - pickfire:liballoc-specfromelem-i8, …
…r=cuviper Add liballoc impl SpecFromElem for i8 Speedup vec![1_i8; N] for non-zero element. Before test do_bench_from_elem_i8 ... bench: 130 ns/iter (+/- 7) = 61 MB/s test do_bench_from_elem_u8 ... bench: 121 ns/iter (+/- 4) = 66 MB/s After test do_bench_from_elem_i8 ... bench: 123 ns/iter (+/- 7) = 65 MB/s test do_bench_from_elem_u8 ... bench: 121 ns/iter (+/- 5) = 66 MB/s No speed difference if element is already zero. ```rust #[bench] fn do_bench_from_elem_i8(b: &mut Bencher) { b.bytes = 8 as u64; b.iter(|| { let dst = ve::vec![10_i8; 100]; assert_eq!(dst.len(), 100); assert!(dst.iter().all(|x| *x == 10)); }) } ``` As suggested by @cuviper https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/SpecForElem.20for.20other.20integers r? @cuviper CC @joshtriplett Edit: Wow, I just realized both reviewers are Josh.
Configuration menu - View commit details
-
Copy full SHA for 23b0776 - Browse repository at this point
Copy the full SHA 23b0776View commit details -
Rollup merge of rust-lang#73579 - RalfJung:doc-missing-links, r=shepm…
…aster add missing doc links The doc comments contain ``[`size_of_val`]`` but the link target was missing.
Configuration menu - View commit details
-
Copy full SHA for 92af945 - Browse repository at this point
Copy the full SHA 92af945View commit details -
Rollup merge of rust-lang#73627 - ssomers:btree_iter_min_max, r=Mark-…
…Simulacrum Shortcuts for min/max on double-ended BTreeMap/BTreeSet iterators Closes rust-lang#59947: a performance tweak that might benefit some. Optimizes `min` and `max ` on all btree double-ended iterators that do not drop, i.e. the iterators created by: - `BTreeMap::iter` - `BTreeMap::iter_mut` - `BTreeMap::keys` and `BTreeSet::iter` - `BTreeMap::range` and `BTreeSet::range` - `BTreeMap::range_mut` Also in these (currently) single-ended iterators, but obviously for `min` only: - `BTreeSet::difference` - `BTreeSet::intersection` - `BTreeSet::symmetric_difference` - `BTreeSet::union` Did not do this in iterators created by `into_iter` to preserve drop order, as outlined in rust-lang#62316. Did not do this in iterators created by `drain_filter`, possibly to preserve drop order, possibly to preserve predicate invocation, mostly to not have to think about it too hard (I guess maybe it wouldn't be a change for `min`, which is the only shortcut possible in this single-ended iterator).
Configuration menu - View commit details
-
Copy full SHA for dfbba65 - Browse repository at this point
Copy the full SHA dfbba65View commit details -
Rollup merge of rust-lang#73691 - ajpaverd:bootstrap-windows-73689, r…
…=Mark-Simulacrum Bootstrap: detect Windows based on sys.platform Closes rust-lang#73689.
Configuration menu - View commit details
-
Copy full SHA for c18e919 - Browse repository at this point
Copy the full SHA c18e919View commit details -
Rollup merge of rust-lang#73694 - poliorcetics:self-upper-keyword, r=…
…Mark-Simulacrum Document the Self keyword Partial fix of rust-lang#34601. Document the `Self` keyword. This contains simple examples of the places where `Self` can be used.
Configuration menu - View commit details
-
Copy full SHA for 8d9c00d - Browse repository at this point
Copy the full SHA 8d9c00dView commit details -
Rollup merge of rust-lang#73718 - poliorcetics:super-keyword, r=shepm…
…aster Document the super keyword Partial fix of rust-lang#34601. Quite short, just a small example and a link to the reference. @rustbot modify labels: T-doc,C-enhancement
Configuration menu - View commit details
-
Copy full SHA for bc10bb0 - Browse repository at this point
Copy the full SHA bc10bb0View commit details -
Rollup merge of rust-lang#73728 - oli-obk:const_prop_cleanup, r=wesle…
…ywiser Document some invariants correctly/more r? @wesleywiser
Configuration menu - View commit details
-
Copy full SHA for 83f6d0a - Browse repository at this point
Copy the full SHA 83f6d0aView commit details -
Rollup merge of rust-lang#73738 - nbdd0121:comment, r=nikomatsakis
Remove irrelevant comment Iterator is no longer a lang item since 216e72f.
Configuration menu - View commit details
-
Copy full SHA for 7926c64 - Browse repository at this point
Copy the full SHA 7926c64View commit details -
Rollup merge of rust-lang#73765 - kraai:remove-blank-line, r=jonas-sc…
…hievink Remove blank line
Configuration menu - View commit details
-
Copy full SHA for 50026ae - Browse repository at this point
Copy the full SHA 50026aeView commit details