-
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 19 pull requests #78874
Rollup of 19 pull requests #78874
Commits on Sep 2, 2020
-
Stabilize
Poll::is_ready
andis_pending
as constInsta-stabilize the methods `is_ready` and `is_pending` of `Poll`. Possible because of the recent stabilization of const control flow. Also adds a test for these methods in a const context.
Configuration menu - View commit details
-
Copy full SHA for 9412a89 - Browse repository at this point
Copy the full SHA 9412a89View commit details
Commits on Sep 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ce1d5ed - Browse repository at this point
Copy the full SHA ce1d5edView commit details
Commits on Oct 16, 2020
-
Due to the recent release of 1.47.0, this PR will be stabilized in 1.49.0 instead of 1.48.0.
Configuration menu - View commit details
-
Copy full SHA for 5e80c65 - Browse repository at this point
Copy the full SHA 5e80c65View commit details
Commits on Oct 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 628fb9f - Browse repository at this point
Copy the full SHA 628fb9fView commit details
Commits on Oct 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 59c6ae6 - Browse repository at this point
Copy the full SHA 59c6ae6View commit details
Commits on Nov 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 39103ce - Browse repository at this point
Copy the full SHA 39103ceView commit details
Commits on Nov 4, 2020
-
Add a tool to run
x.py
from any subdirectoryThis adds a binary called `x` in `src/tools/x`. All it does is check the current directory and its ancestors for a file called `x.py`, and if it finds one, runs it. By installing x, you can easily `x.py` from any subdirectory. It can be installed globally with `cargo install --path src/tools/x`
3Configuration menu - View commit details
-
Copy full SHA for 5fc22f1 - Browse repository at this point
Copy the full SHA 5fc22f1View commit details -
Constantify
UnsafeCell::into_inner
and relatedAlso includes: - Cell::into_inner - RefCell::into_inner - Atomic*::into_inner
Configuration menu - View commit details
-
Copy full SHA for 9a12d72 - Browse repository at this point
Copy the full SHA 9a12d72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 795bbfe - Browse repository at this point
Copy the full SHA 795bbfeView commit details
Commits on Nov 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8078474 - Browse repository at this point
Copy the full SHA 8078474View commit details
Commits on Nov 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3bee37c - Browse repository at this point
Copy the full SHA 3bee37cView commit details -
Partially fix rust-lang#55002, deprecate in another release Co-authored-by: Ashley Mannix <kodraus@hey.com> Update stable version for stabilize_spin_loop Co-authored-by: Joshua Nelson <joshua@yottadb.com> Use better example for spinlock As suggested by KodrAus Remove renamed_spin_loop already available in master Fix spin loop example
Configuration menu - View commit details
-
Copy full SHA for e8b5be5 - Browse repository at this point
Copy the full SHA e8b5be5View commit details -
Make some std::io functions
const
Includes: - io::Cursor::new - io::Cursor::get_ref - io::Cursor::position - io::empty - io::repeat - io::sink
Configuration menu - View commit details
-
Copy full SHA for ae059b5 - Browse repository at this point
Copy the full SHA ae059b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 001dd7e - Browse repository at this point
Copy the full SHA 001dd7eView commit details -
Should hopefully fix rust-lang#78341 and rust-lang#78340.
Configuration menu - View commit details
-
Copy full SHA for bff2e46 - Browse repository at this point
Copy the full SHA bff2e46View commit details
Commits on Nov 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 020ed65 - Browse repository at this point
Copy the full SHA 020ed65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c8d25f - Browse repository at this point
Copy the full SHA 5c8d25fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 087a934 - Browse repository at this point
Copy the full SHA 087a934View commit details -
Honor the rustfmt setting in config.toml
Prior to this, setting the rustfmt configuration was ignored: ``` % mkdir example % cd example % ../configure --set build.rustfmt=/usr/bin/true % ../x.py fmt ./x.py fmt is not supported on this channel failed to run: /Users/shep/Projects/rust/example/build/bootstrap/debug/bootstrap fmt Build completed unsuccessfully in 0:00:01 ``` And after: ``` % ../x.py fmt Build completed successfully in 0:00:11 ```
Configuration menu - View commit details
-
Copy full SHA for 8cae2f1 - Browse repository at this point
Copy the full SHA 8cae2f1View commit details -
Less verbose debug logging from inlining integrator
The inlining integrator produces relatively verbose and uninteresting logs. Move them from a debug log level to a trace level, so that they can be easily isolated from others.
Configuration menu - View commit details
-
Copy full SHA for 425675d - Browse repository at this point
Copy the full SHA 425675dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8258cf2 - Browse repository at this point
Copy the full SHA 8258cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 907b87f - Browse repository at this point
Copy the full SHA 907b87fView commit details -
fixed a typo and modified some line formatting justification while I'm here :)
o752d committedNov 7, 2020 Configuration menu - View commit details
-
Copy full SHA for 2550e88 - Browse repository at this point
Copy the full SHA 2550e88View commit details
Commits on Nov 8, 2020
-
Don't fire
CONST_ITEM_MUTATION
lint when borrowing a derefFixes rust-lang#78819 This extends the check for dereferences added in PR rust-lang#77324 to cover mutable borrows, as well as direct writes. If we're operating on a dereference of a `const` item, we shouldn't be firing the lint.
Configuration menu - View commit details
-
Copy full SHA for e4e9bb4 - Browse repository at this point
Copy the full SHA e4e9bb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd3f3fa - Browse repository at this point
Copy the full SHA bd3f3faView commit details -
Rollup merge of rust-lang#76097 - pickfire:stabilize-spin-loop, r=Kod…
…rAus Stabilize hint::spin_loop Partially fix rust-lang#55002, deprecate in another release r? ``````@KodrAus``````
Configuration menu - View commit details
-
Copy full SHA for 1f034f7 - Browse repository at this point
Copy the full SHA 1f034f7View commit details -
Rollup merge of rust-lang#76227 - CDirkx:const-poll, r=KodrAus
Stabilize `Poll::is_ready` and `is_pending` as const Insta-stabilize the methods `is_ready` and `is_pending` of `std::task::Poll` as const, in the same way as [PR#76198](rust-lang#76198). Possible because of the recent stabilization of const control flow. Part of rust-lang#76225.
Configuration menu - View commit details
-
Copy full SHA for bdeace9 - Browse repository at this point
Copy the full SHA bdeace9View commit details -
Rollup merge of rust-lang#78065 - tshepang:nits, r=dtolnay
make concurrency helper more pleasant to read
Configuration menu - View commit details
-
Copy full SHA for 1c66688 - Browse repository at this point
Copy the full SHA 1c66688View commit details -
Rollup merge of rust-lang#78570 - sasurau4:test/check-pass-print-type…
…-size, r=jyn514 Remove FIXME comment in print_type_sizes ui test suite ## Overview Helps with rust-lang#62277 > The type sizes are likely only printed when the actual layout is computed. For generic types, this only happens during codegen. ref: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/Codegen.20process.20question/near/215836807 Some tests like `multiple_types.rs` are passed even if using `check-pass`. But tests should be agnostic to when the actual layout is computed. The `build-pass` is intentionally used for them. I remove FIXME comments.
Configuration menu - View commit details
-
Copy full SHA for 834d761 - Browse repository at this point
Copy the full SHA 834d761View commit details -
Rollup merge of rust-lang#78572 - de-vri-es:bsd-cloexec, r=m-ou-se
Use SOCK_CLOEXEC and accept4() on more platforms. This PR enables the use of `SOCK_CLOEXEC` and `accept4` on more platforms. ----- Android uses the linux kernel, so it should also support it. DragonflyBSD introduced them in 4.4 (December 2015): https://www.dragonflybsd.org/release44/ FreeBSD introduced them in 10.0 (January 2014): https://wiki.freebsd.org/AtomicCloseOnExec Illumos introduced them in a commit in April 2013, not sure when it was released. It is quite possible that is has always been in Illumos: illumos/illumos-gate@5dbfd19 https://illumos.org/man/3socket/socket https://illumos.org/man/3socket/accept4 NetBSD introduced them in 6.0 (Oktober 2012) and 8.0 (July 2018): https://man.netbsd.org/NetBSD-6.0/socket.2 https://man.netbsd.org/NetBSD-8.0/accept.2 OpenBSD introduced them in 5.7 (May 2015): https://man.openbsd.org/socket https://man.openbsd.org/accept
Configuration menu - View commit details
-
Copy full SHA for eef9951 - Browse repository at this point
Copy the full SHA eef9951View commit details -
Rollup merge of rust-lang#78658 - casey:x, r=Mark-Simulacrum
Add a tool to run `x.py` from any subdirectory This adds a binary called `x` in `src/tools/x`. All it does is check the current directory and its ancestors for a file called `x.py`, and if it finds one, runs it. By installing x, you can easily run `x.py` from any subdirectory, and only need to type `x`. It can be installed with `cargo install --path src/tools/x` This is a copy of a [binary I've been using myself when working on rust](https://github.com/casey/bootstrap), currently published to crates.io as `bootstrap`. It could be changed to avoid indirecting through `x.py`, and instead call the bootstrap module directly. However, this seemed like the simplest thing possible, and won't break if the details of how the bootstrap module is invoked change.
Configuration menu - View commit details
-
Copy full SHA for 7d9ad6d - Browse repository at this point
Copy the full SHA 7d9ad6dView commit details -
Rollup merge of rust-lang#78706 - bjorn3:fix_run_make_without_llvm, r…
…=Mark-Simulacrum Fix run-make tests running when LLVM is disabled The `--cc`, `--cxx`, `--cflags` and `--ar` flags were only passed to compiletest when `builder.config.llvm_enabled()` returned true. This is preventing me from running the tests on cg_clif.
Configuration menu - View commit details
-
Copy full SHA for a619e25 - Browse repository at this point
Copy the full SHA a619e25View commit details -
Rollup merge of rust-lang#78728 - a1phyr:const_cell_into_inner, r=dto…
…lnay Constantify `UnsafeCell::into_inner` and related Tracking issue: rust-lang#78729 This PR constantifies: - `UnsafeCell::into_inner` - `Cell::into_inner` - `RefCell::into_inner` - `Atomic*::into_inner` r? `````@dtolnay`````
Configuration menu - View commit details
-
Copy full SHA for 2967e58 - Browse repository at this point
Copy the full SHA 2967e58View commit details -
Rollup merge of rust-lang#78775 - ghedo:bump-rustfmt-rls, r=Mark-Simu…
…lacrum Bump Rustfmt and RLS Should hopefully fix rust-lang#78341 and fix rust-lang#78340.
Configuration menu - View commit details
-
Copy full SHA for 04859e5 - Browse repository at this point
Copy the full SHA 04859e5View commit details -
Rollup merge of rust-lang#78788 - jhpratt:isize-impl-fix, r=m-ou-se
Correct unsigned equivalent of isize to be usize See [rust-lang#74913 (comment)](rust-lang#74913 (comment)) for why this matters. Apparently it hasn't been used anywhere else, though CI will tell for sure.
Configuration menu - View commit details
-
Copy full SHA for 3541280 - Browse repository at this point
Copy the full SHA 3541280View commit details -
Rollup merge of rust-lang#78811 - a1phyr:const_io_structs, r=dtolnay
Make some std::io functions `const` Tracking issue: rust-lang#78812 Make the following functions `const`: - `io::Cursor::new` - `io::Cursor::get_ref` - `io::Cursor::position` - `io::empty` - `io::repeat` - `io::sink` r? `````@dtolnay`````
Configuration menu - View commit details
-
Copy full SHA for 77f333b - Browse repository at this point
Copy the full SHA 77f333bView commit details -
Rollup merge of rust-lang#78828 - matthiaskrgr:sing_chr, r=lcnr
use single char patterns for split() (clippy::single_char_pattern)
Configuration menu - View commit details
-
Copy full SHA for 5cffa8f - Browse repository at this point
Copy the full SHA 5cffa8fView commit details -
Rollup merge of rust-lang#78841 - LeSeulArtichaut:foldable-derive, r=…
…lcnr Small cleanup in `TypeFoldable` derive macro r? ```@lcnr```
Configuration menu - View commit details
-
Copy full SHA for 2489ff7 - Browse repository at this point
Copy the full SHA 2489ff7View commit details -
Rollup merge of rust-lang#78842 - shepmaster:bootstrap-rustfmt, r=Mar…
…k-Simulacrum Honor the rustfmt setting in config.toml Prior to this, setting the rustfmt configuration was ignored: ``` % mkdir example % cd example % ../configure --set build.rustfmt=/usr/bin/true % ../x.py fmt ./x.py fmt is not supported on this channel failed to run: /Users/shep/Projects/rust/example/build/bootstrap/debug/bootstrap fmt Build completed unsuccessfully in 0:00:01 ``` And after: ``` % ../x.py fmt Build completed successfully in 0:00:11 ``` r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for cb90042 - Browse repository at this point
Copy the full SHA cb90042View commit details -
Rollup merge of rust-lang#78843 - tmiasko:inline-trace, r=wesleywiser
Less verbose debug logging from inlining integrator The inlining integrator produces relatively verbose and uninteresting logs. Move them from a debug log level to a trace level, so that they can be easily isolated from others.
Configuration menu - View commit details
-
Copy full SHA for e5230fd - Browse repository at this point
Copy the full SHA e5230fdView commit details -
Rollup merge of rust-lang#78852 - camelid:intra-doc-bonanza, r=jyn514
Convert a bunch of intra-doc links An intra-doc link bonanza! This was accomplished using a bunch of trial-and-error with sed.
Configuration menu - View commit details
-
Copy full SHA for 96975e5 - Browse repository at this point
Copy the full SHA 96975e5View commit details -
Rollup merge of rust-lang#78860 - petrochenkov:resolvefmt, r=Mark-Sim…
…ulacrum rustc_resolve: Use `#![feature(format_args_capture)]` This is the best new sugar for quite some time. (I only changed places that already used named arguments.)
Configuration menu - View commit details
-
Copy full SHA for 829e880 - Browse repository at this point
Copy the full SHA 829e880View commit details -
Rollup merge of rust-lang#78861 - o752d:patch-1, r=jonas-schievink
typo and formatting fixed a typo and modified some line formatting justification while I'm here :)
Configuration menu - View commit details
-
Copy full SHA for c4e262e - Browse repository at this point
Copy the full SHA c4e262eView commit details -
Rollup merge of rust-lang#78865 - Aaron1011:fix/const-item-mut-reborr…
…ow, r=varkor Don't fire `CONST_ITEM_MUTATION` lint when borrowing a deref Fixes rust-lang#78819 This extends the check for dereferences added in PR rust-lang#77324 to cover mutable borrows, as well as direct writes. If we're operating on a dereference of a `const` item, we shouldn't be firing the lint.
Configuration menu - View commit details
-
Copy full SHA for 91759b2 - Browse repository at this point
Copy the full SHA 91759b2View commit details