-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 16 pull requests #59069
Rollup of 16 pull requests #59069
Commits on Feb 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 834347d - Browse repository at this point
Copy the full SHA 834347dView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa3ca32 - Browse repository at this point
Copy the full SHA aa3ca32View commit details -
Configuration menu - View commit details
-
Copy full SHA for be23cd9 - Browse repository at this point
Copy the full SHA be23cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 240fad0 - Browse repository at this point
Copy the full SHA 240fad0View commit details
Commits on Feb 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 405d950 - Browse repository at this point
Copy the full SHA 405d950View commit details
Commits on Mar 1, 2019
-
fs::copy() linux: set file mode early
A convenience method like fs::copy() should try to prevent pitfalls a normal user doesn't think about. In case of an empty umask, setting the file mode early prevents temporarily world readable or even writeable files, because the default mode is 0o666. In case the target is a named pipe or special device node, setting the file mode can lead to unwanted side effects, like setting permissons on `/dev/stdout` or for root setting permissions on `/dev/null`. copy_file_range() returns EINVAL, if the destination is a FIFO/pipe or a device like "/dev/null", so fallback to io::copy, too. Fixes: rust-lang#26933 Fixed: rust-lang#37885
Configuration menu - View commit details
-
Copy full SHA for fb98ca7 - Browse repository at this point
Copy the full SHA fb98ca7View commit details -
librustc_interface: Update scoped-tls to 1.0
Done previously as a part of rust-lang#58748
Configuration menu - View commit details
-
Copy full SHA for 204f087 - Browse repository at this point
Copy the full SHA 204f087View commit details -
Configuration menu - View commit details
-
Copy full SHA for 196e021 - Browse repository at this point
Copy the full SHA 196e021View commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c82a42c - Browse repository at this point
Copy the full SHA c82a42cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a991e4 - Browse repository at this point
Copy the full SHA 0a991e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 124ab2a - Browse repository at this point
Copy the full SHA 124ab2aView commit details
Commits on Mar 5, 2019
-
core: ensure VaList passes improper_ctypes lint
Ensure the core::ffi::VaList structure passes the improper_ctypes lint.
Configuration menu - View commit details
-
Copy full SHA for 1243859 - Browse repository at this point
Copy the full SHA 1243859View commit details -
std: Spin for a global malloc lock on wasm32
There's lots of comments in the code, but the main gist of this commit is that the acquisition of the global malloc lock on the `wasm32-unknown-unknown` target when threads are enabled will not spin on contention rather than block.
Configuration menu - View commit details
-
Copy full SHA for 72958ac - Browse repository at this point
Copy the full SHA 72958acView commit details -
MIPS r6 is quite different with the previous version. It use some new target triples: mipsisa32r6-unknown-linux-gnu mipsisa32r6el-unknown-linux-gnu mipsisa64r6-unknown-linux-gnuabi64 mipsisa64r6el-unknown-linux-gnuabi64 This patch has been tested with Debian Port for mips64r6el, and the support of these triples also is included in llvm: https://reviews.llvm.org/rGe58c45a695f39004710b6ce940d489fee800dbd3
Configuration menu - View commit details
-
Copy full SHA for 710988a - Browse repository at this point
Copy the full SHA 710988aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e8758b - Browse repository at this point
Copy the full SHA 7e8758bView commit details
Commits on Mar 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d6add90 - Browse repository at this point
Copy the full SHA d6add90View commit details
Commits on Mar 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 00887f3 - Browse repository at this point
Copy the full SHA 00887f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e19b228 - Browse repository at this point
Copy the full SHA e19b228View commit details
Commits on Mar 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0a505a7 - Browse repository at this point
Copy the full SHA 0a505a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aa89b2 - Browse repository at this point
Copy the full SHA 9aa89b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a03e20d - Browse repository at this point
Copy the full SHA a03e20dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 967e7f4 - Browse repository at this point
Copy the full SHA 967e7f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f690821 - Browse repository at this point
Copy the full SHA f690821View commit details
Commits on Mar 10, 2019
-
Fix ICE in MIR pretty printing
A `Def::Variant` should be considered as a function in mir pretty printing. Each variant has a constructor that we must print. Given the following enum definition: ``` pub enum TestMe { X(usize), } ``` We will need to generate a constructor for the variant `X` with a signature that looks something like the following: ``` fn TestMe::X(_1: usize) -> TestMe; ```
Configuration menu - View commit details
-
Copy full SHA for 3a83cb2 - Browse repository at this point
Copy the full SHA 3a83cb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for df4ea90 - Browse repository at this point
Copy the full SHA df4ea90View commit details -
Rollup merge of rust-lang#58021 - ishitatsuyuki:57667-fix, r=RalfJung
Fix fallout from rust-lang#57667
Configuration menu - View commit details
-
Copy full SHA for a0f4e6a - Browse repository at this point
Copy the full SHA a0f4e6aView commit details -
Rollup merge of rust-lang#58330 - GuillaumeGomez:rustdoc-js-non-std, …
…r=QuietMisdreavus,Mark-Simulacrum Add rustdoc JS non-std tests @QuietMisdreavus: You asked it, here it is! r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for c4d342e - Browse repository at this point
Copy the full SHA c4d342eView commit details -
Rollup merge of rust-lang#58789 - jordanrh1:update-compiler-builtins,…
… r=sanxiyn Update compiler_builtins to 0.1.7 to get windows/arm fix
Configuration menu - View commit details
-
Copy full SHA for 020d490 - Browse repository at this point
Copy the full SHA 020d490View commit details -
Rollup merge of rust-lang#58803 - haraldh:fs_copy_fix, r=alexcrichton
fs::copy() linux: set file mode early A convenience method like fs::copy() should try to prevent pitfalls a normal user doesn't think about. In case of an empty umask, setting the file mode early prevents temporarily world readable or even writeable files, because the default mode is 0o666. In case the target is a named pipe or special device node, setting the file mode can lead to unwanted side effects, like setting permissons on `/dev/stdout` or for root setting permissions on `/dev/null`. copy_file_range() returns EINVAL, if the destination is a FIFO/pipe or a device like "/dev/null", so fallback to io::copy, too. Fixes: rust-lang#26933 Fixed: rust-lang#37885
Configuration menu - View commit details
-
Copy full SHA for 1dae14b - Browse repository at this point
Copy the full SHA 1dae14bView commit details -
Rollup merge of rust-lang#58829 - Xanewok:scoped-tls, r=Zoxc
librustc_interface: Update scoped-tls to 1.0 Done previously as a part of rust-lang#58748. r? @Zoxc
Configuration menu - View commit details
-
Copy full SHA for 19304ee - Browse repository at this point
Copy the full SHA 19304eeView commit details -
Rollup merge of rust-lang#58848 - GuillaumeGomez:fix-cache-issues, r=…
…Mark-Simulacrum Prevent cache issues on version updates Fixes rust-lang#58827. cc @rust-lang/infra
Configuration menu - View commit details
-
Copy full SHA for 5bff5d8 - Browse repository at this point
Copy the full SHA 5bff5d8View commit details -
Rollup merge of rust-lang#58855 - alexcrichton:wasm-multithreaded-all…
…oc, r=fitzgen std: Spin for a global malloc lock on wasm32 There's lots of comments in the code, but the main gist of this commit is that the acquisition of the global malloc lock on the `wasm32-unknown-unknown` target when threads are enabled will not spin on contention rather than block.
Configuration menu - View commit details
-
Copy full SHA for c5a758a - Browse repository at this point
Copy the full SHA c5a758aView commit details -
Rollup merge of rust-lang#58872 - rep-nop:diagnostic-fix-56031, r=pet…
…rochenkov Adds help message in error for invalid `impl for T` syntax Fixes rust-lang#56031.
Configuration menu - View commit details
-
Copy full SHA for 81920ff - Browse repository at this point
Copy the full SHA 81920ffView commit details -
Rollup merge of rust-lang#58876 - estebank:numeric-lifetime, r=petroc…
…henkov Parse lifetimes that start with a number and give specific error Fix rust-lang#58786.
Configuration menu - View commit details
-
Copy full SHA for 789aca0 - Browse repository at this point
Copy the full SHA 789aca0View commit details -
Rollup merge of rust-lang#58901 - ebarnard:just-copying, r=sfackler
Change `std::fs::copy` to use `copyfile` on MacOS and iOS `copyfile` on MacOS is similar to `CopyFileEx` on Windows. It supports copying resource forks, extended attributes, and file ACLs, none of which are copied by the current generic unix implementation. The API is available from MacOS 10.7 and iOS 4.3 (and possibly earlier but I haven't checked). Closes rust-lang#58895.
Configuration menu - View commit details
-
Copy full SHA for c177bc9 - Browse repository at this point
Copy the full SHA c177bc9View commit details -
Rollup merge of rust-lang#58938 - dlrobertson:fix_58280, r=joshtriplett
core: ensure VaList passes improper_ctypes lint Ensure the `core::ffi::VaList` structure passes the `improper_ctypes` lint. Fixes: rust-lang#58280
Configuration menu - View commit details
-
Copy full SHA for f261445 - Browse repository at this point
Copy the full SHA f261445View commit details -
Rollup merge of rust-lang#58941 - wzssyqa:master, r=alexcrichton
MIPS: add r6 support MIPS r6 is quite different with the previous version. It use some new target triples: mipsisa32r6-unknown-linux-gnu mipsisa32r6el-unknown-linux-gnu mipsisa64r6-unknown-linux-gnuabi64 mipsisa64r6el-unknown-linux-gnuabi64 This patch has been tested with Debian Port for mips64r6el, and the support of these triples also is included in llvm: https://reviews.llvm.org/rGe58c45a695f39004710b6ce940d489fee800dbd3
Configuration menu - View commit details
-
Copy full SHA for 82b5ea9 - Browse repository at this point
Copy the full SHA 82b5ea9View commit details -
Rollup merge of rust-lang#59035 - estebank:closure-instacall, r=david…
…twco When encountetring `||{}()`, suggest the likely intended `(||{})()` Fix rust-lang#55851.
Configuration menu - View commit details
-
Copy full SHA for 129cc2e - Browse repository at this point
Copy the full SHA 129cc2eView commit details -
Rollup merge of rust-lang#59036 - dlrobertson:fix_59021, r=estebank
Fix ICE in MIR pretty printing A `Def::Variant` should be considered as a function in mir pretty printing. Each variant has a constructor that we must print. Given the following enum definition: ```rust pub enum TestMe { X(usize), } ``` We will need to generate a constructor for the variant `X` with a signature that looks something like the following: ``` fn TestMe::X(_1: usize) -> TestMe; ``` Fixes: rust-lang#59021
Configuration menu - View commit details
-
Copy full SHA for 1f09313 - Browse repository at this point
Copy the full SHA 1f09313View commit details -
Rollup merge of rust-lang#59047 - petrochenkov:modnodefid, r=Centril
resolve: Account for new importable entities Fixes the ICE encountered in rust-lang#58837 r? @Centril
Configuration menu - View commit details
-
Copy full SHA for 1ce55a6 - Browse repository at this point
Copy the full SHA 1ce55a6View commit details -
Rollup merge of rust-lang#59056 - scottmcm:even-fewer-lifetimes, r=sf…
…ackler Use lifetime contravariance to elide more lifetimes in core+alloc+std Sample: ```diff - impl<'a, 'b, A: ?Sized, B: ?Sized> PartialEq<&'b mut B> for &'a mut A where A: PartialEq<B> { + impl<A: ?Sized, B: ?Sized> PartialEq<&mut B> for &mut A where A: PartialEq<B> { #[inline] - fn eq(&self, other: &&'b mut B) -> bool { PartialEq::eq(*self, *other) } + fn eq(&self, other: &&mut B) -> bool { PartialEq::eq(*self, *other) } #[inline] - fn ne(&self, other: &&'b mut B) -> bool { PartialEq::ne(*self, *other) } + fn ne(&self, other: &&mut B) -> bool { PartialEq::ne(*self, *other) } } ``` [I didn't know this worked](https://internals.rust-lang.org/t/why-can-you-use-different-unconstrained-lifetimes-to-implement-traits/9544/2?u=scottmcm) until recently, but since defining methods contravariantly in their lifetimes this way has worked back to Rust 1.0, we might as well take advantage of combining it with IHLE.
Configuration menu - View commit details
-
Copy full SHA for 4c49c7a - Browse repository at this point
Copy the full SHA 4c49c7aView commit details