-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 17 pull requests #59921
Rollup of 17 pull requests #59921
Commits on Apr 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 968ea1c - Browse repository at this point
Copy the full SHA 968ea1cView commit details
Commits on Apr 5, 2019
-
Increase
Span
from 4 bytes to 8 bytes.This increases the size of some important types, such as `ast::Expr` and `mir::Statement`. However, it drastically reduces how much the interner is used, and the fields are more natural sizes that don't require bit operations to extract. As a result, instruction counts drop across a range of workloads, by as much as 12% for incremental "check" builds of `script-servo`. Peak memory usage goes up a little for some cases, but down by more for some other cases -- as much as 18% for non-incremental builds of `packed-simd`. The commit also: - removes the `repr(packed)`, because it has negligible effect, but can cause undefined behaviour; - replaces explicit impls of common traits (`Copy`, `PartialEq`, etc.) with derived ones.
Configuration menu - View commit details
-
Copy full SHA for fd7f605 - Browse repository at this point
Copy the full SHA fd7f605View commit details -
It is now exactly equivalent to lookup_char_pos.
Configuration menu - View commit details
-
Copy full SHA for 63080b3 - Browse repository at this point
Copy the full SHA 63080b3View commit details
Commits on Apr 6, 2019
-
Add book.toml to tools/unstable, add copy_book_toml to scipt
Bastian Gruber committedApr 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 1c3979c - Browse repository at this point
Copy the full SHA 1c3979cView commit details -
Remove copy_book_toml method in favor for copy_recursive
Bastian Gruber committedApr 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 5ddb339 - Browse repository at this point
Copy the full SHA 5ddb339View commit details -
Bastian Gruber committed
Apr 6, 2019 Configuration menu - View commit details
-
Copy full SHA for 280277a - Browse repository at this point
Copy the full SHA 280277aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f948ea - Browse repository at this point
Copy the full SHA 2f948eaView commit details
Commits on Apr 7, 2019
-
Change root path for unstable-book
Bastian Gruber committedApr 7, 2019 Configuration menu - View commit details
-
Copy full SHA for 34c1572 - Browse repository at this point
Copy the full SHA 34c1572View commit details
Commits on Apr 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b8e9da7 - Browse repository at this point
Copy the full SHA b8e9da7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b01844 - Browse repository at this point
Copy the full SHA 6b01844View commit details -
Explicit promotion is indistinguishable from explicit promotion
Implicit promotion on the other hand has very strict rules on what may be done
Configuration menu - View commit details
-
Copy full SHA for ec52065 - Browse repository at this point
Copy the full SHA ec52065View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d5673 - Browse repository at this point
Copy the full SHA d3d5673View commit details -
Configuration menu - View commit details
-
Copy full SHA for c63b9ff - Browse repository at this point
Copy the full SHA c63b9ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae4717d - Browse repository at this point
Copy the full SHA ae4717dView commit details
Commits on Apr 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 03727a4 - Browse repository at this point
Copy the full SHA 03727a4View commit details -
- Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
Configuration menu - View commit details
-
Copy full SHA for 1ad46cd - Browse repository at this point
Copy the full SHA 1ad46cdView commit details
Commits on Apr 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6635fbe - Browse repository at this point
Copy the full SHA 6635fbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f97552 - Browse repository at this point
Copy the full SHA 2f97552View commit details -
Configuration menu - View commit details
-
Copy full SHA for 404df31 - Browse repository at this point
Copy the full SHA 404df31View commit details -
Configuration menu - View commit details
-
Copy full SHA for f10394a - Browse repository at this point
Copy the full SHA f10394aView commit details -
std: Add
{read,write}_vectored
for more typesThis commit implements the `{read,write}_vectored` methods on more types in the standard library, namely: * `std::fs::File` * `std::process::ChildStd{in,out,err}` * `std::io::Std{in,out,err}` * `std::io::Std{in,out,err}Lock` * `std::io::Std{in,out,err}Raw` Where supported the OS implementations hook up to native support, otherwise it falls back to the already-defaulted implementation.
Configuration menu - View commit details
-
Copy full SHA for acf3ddb - Browse repository at this point
Copy the full SHA acf3ddbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 825a11e - Browse repository at this point
Copy the full SHA 825a11eView commit details
Commits on Apr 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d7f5c50 - Browse repository at this point
Copy the full SHA d7f5c50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fd3f5a - Browse repository at this point
Copy the full SHA 6fd3f5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22f2afe - Browse repository at this point
Copy the full SHA 22f2afeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e149dc0 - Browse repository at this point
Copy the full SHA e149dc0View commit details
Commits on Apr 12, 2019
-
In
-Zprint-type-size
output, sort enum variants by size.It's useful to see the biggest variants first.
Configuration menu - View commit details
-
Copy full SHA for ca1ab3e - Browse repository at this point
Copy the full SHA ca1ab3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce6645 - Browse repository at this point
Copy the full SHA 1ce6645View commit details -
This implements RFC 2480: * rust-lang/rfcs#2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes rust-lang#27783
Configuration menu - View commit details
-
Copy full SHA for fc928a1 - Browse repository at this point
Copy the full SHA fc928a1View commit details -
Rollup merge of rust-lang#59675 - SimonSapin:stable-alloc, r=alexcric…
…hton Stabilize the `alloc` crate. This implements RFC 2480: * rust-lang/rfcs#2480 * https://github.com/rust-lang/rfcs/blob/master/text/2480-liballoc.md Closes rust-lang#27783
Configuration menu - View commit details
-
Copy full SHA for e728ee0 - Browse repository at this point
Copy the full SHA e728ee0View commit details -
Rollup merge of rust-lang#59693 - nnethercote:64-bit-Spans, r=petroch…
…enkov Increase `Span` from 4 bytes to 8 bytes. This increases the size of some important types, such as `ast::Expr` and `mir::Statement`. However, it drastically reduces how much the interner is used, and the fields are more natural sizes that don't require bit operations to extract. As a result, instruction counts drop across a range of workloads, by as much as 10% for `script-servo` incremental builds. Peak memory usage goes up a little for some cases, but down by more for some other cases -- as much as 18% for non-incremental builds of `packed-simd`. The commit also: - removes the `repr(packed)`, because it has negligible effect, but can cause undefined behaviour; - replaces explicit impls of common traits (`Copy`, `PartialEq`, etc.) with derived ones. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for dcbbb1b - Browse repository at this point
Copy the full SHA dcbbb1bView commit details -
Rollup merge of rust-lang#59708 - matthewjasper:double-closure-unused…
…-mut, r=pnkfelix Mark variables captured by reference as mutable correctly Closes rust-lang#59620 r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for aa687ed - Browse repository at this point
Copy the full SHA aa687edView commit details -
Rollup merge of rust-lang#59735 - matklad:deadcode, r=sanxiyn
remove lookup_char_pos_adj It is now exactly equivalent to lookup_char_pos.
Configuration menu - View commit details
-
Copy full SHA for 927c7cf - Browse repository at this point
Copy the full SHA 927c7cfView commit details -
Rollup merge of rust-lang#59747 - gruberb:copy-book-toml-unstable-boo…
…k, r=ehuss Copy book.toml unstable book generator Solves rust-lang#59554 and adds a book title to the unstable book. I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`). Although I had a hard time time testing it. A second pair of eyes is definitely needed.
Configuration menu - View commit details
-
Copy full SHA for ef08a1c - Browse repository at this point
Copy the full SHA ef08a1cView commit details -
Rollup merge of rust-lang#59752 - Zoxc:dylib-fix, r=michaelwoerister
Limit dylib symbols This makes `windows-gnu` match the behavior of `windows-msvc`. It probably doesn't make sense to export these symbols on other platforms either.
Configuration menu - View commit details
-
Copy full SHA for 968b1e5 - Browse repository at this point
Copy the full SHA 968b1e5View commit details -
Rollup merge of rust-lang#59796 - oli-obk:const_arg_ice, r=eddyb
Retire `IsNotConst` naming This naming scheme caused a lot of confusion lately (including ICEs) due to misrefactored code. Also clean up the initialization code for said flag. r? @eddyb previous discussions: rust-lang#58784 (comment) rust-lang#58403 (comment)
Configuration menu - View commit details
-
Copy full SHA for eb29fd0 - Browse repository at this point
Copy the full SHA eb29fd0View commit details -
Rollup merge of rust-lang#59804 - Zoxc:cleaner-jobserver, r=alexcrichton
Clean up jobserver integration cc @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for 85c7cc2 - Browse repository at this point
Copy the full SHA 85c7cc2View commit details -
Rollup merge of rust-lang#59818 - crlf0710:eliminate_libstd_fnbox, r=…
…cramertj Eliminate `FnBox` usages from libstd.
Configuration menu - View commit details
-
Copy full SHA for 66548ae - Browse repository at this point
Copy the full SHA 66548aeView commit details -
Rollup merge of rust-lang#59830 - ehuss:keyword-links, r=Mark-Simulacrum
Fix links on keyword docs. - Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
Configuration menu - View commit details
-
Copy full SHA for 4b160ef - Browse repository at this point
Copy the full SHA 4b160efView commit details -
Rollup merge of rust-lang#59835 - lzutao:nonzero-signed, r=Mark-Simul…
…acrum Re-export NonZero signed variant in std Closes rust-lang#59834 .
Configuration menu - View commit details
-
Copy full SHA for 2a24c8f - Browse repository at this point
Copy the full SHA 2a24c8fView commit details -
Rollup merge of rust-lang#59852 - alexcrichton:more-vectored, r=sfackler
std: Add `{read,write}_vectored` for more types This commit implements the `{read,write}_vectored` methods on more types in the standard library, namely: * `std::fs::File` * `std::process::ChildStd{in,out,err}` * `std::io::Std{in,out,err}` * `std::io::Std{in,out,err}Lock` * `std::io::Std{in,out,err}Raw` Where supported the OS implementations hook up to native support, otherwise it falls back to the already-defaulted implementation.
Configuration menu - View commit details
-
Copy full SHA for 23c824e - Browse repository at this point
Copy the full SHA 23c824eView commit details -
Rollup merge of rust-lang#59855 - GuillaumeGomez:fix-attr-position-in…
…-type-decl, r=QuietMisdreavus Fix attributes position in type declaration Fixes rust-lang#59797. r? @rust-lang/rustdoc
Configuration menu - View commit details
-
Copy full SHA for 6218a44 - Browse repository at this point
Copy the full SHA 6218a44View commit details -
Rollup merge of rust-lang#59858 - mark-i-m:dup-matcher-bindings-3, r=…
…Centril Make duplicate matcher bindings a hard error r? @Centril Closes rust-lang#57742
Configuration menu - View commit details
-
Copy full SHA for 1ccd4cd - Browse repository at this point
Copy the full SHA 1ccd4cdView commit details -
Rollup merge of rust-lang#59879 - ebarnard:patch-1, r=alexcrichton
Use SecRandomCopyBytes instead of /dev/urandom on MacOS SecRandomCopyBytes is [available since MacOS 10.7](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) which is the minimum supported version and which was suggested in rust-lang#58901 (comment) is the earliest version currently in use. This matches the behaviour of other platforms which have a random number generator syscall available.
Configuration menu - View commit details
-
Copy full SHA for 020ed28 - Browse repository at this point
Copy the full SHA 020ed28View commit details -
Rollup merge of rust-lang#59899 - nnethercote:sort-enum-variants-by-s…
…ize, r=pnkfelix In `-Zprint-type-size` output, sort enum variants by size. It's useful to see the biggest variants first. r? @pnkfelix
Configuration menu - View commit details
-
Copy full SHA for c07ccc4 - Browse repository at this point
Copy the full SHA c07ccc4View commit details -
Rollup merge of rust-lang#59912 - RalfJung:maybe-uninit, r=Centril
MaybeUninit: remove deprecated functions
Configuration menu - View commit details
-
Copy full SHA for 910c719 - Browse repository at this point
Copy the full SHA 910c719View commit details