-
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 6 pull requests #89858
Rollup of 6 pull requests #89858
Commits on Oct 11, 2021
-
Use shallow clones for submodules
This reduces the amount of git history downloaded from ~67M to ~11M.
Configuration menu - View commit details
-
Copy full SHA for 9177fa3 - Browse repository at this point
Copy the full SHA 9177fa3View commit details
Commits on Oct 13, 2021
-
suggestion for typoed crate or module
avoid suggesting the same name sort candidates fix a message use `opt_def_id` instead of `def_id` move `find_similarly_named_module_or_crate` to rustc_resolve/src/diagnostics.rs
Configuration menu - View commit details
-
Copy full SHA for f819e6d - Browse repository at this point
Copy the full SHA f819e6dView commit details -
Assemble the compiler when running
x.py build
Previously, there was no way to actually get binaries in `build/$TARGET/stage1/bin` without building the standard library. This makes it possible to build just the compiler. This can be useful when the standard library isn't actually necessary for trying out your tests (e.g. a bug that can be reproduced with only a `no_core` crate).
Configuration menu - View commit details
-
Copy full SHA for 31265c6 - Browse repository at this point
Copy the full SHA 31265c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf905ed - Browse repository at this point
Copy the full SHA cf905edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21429ed - Browse repository at this point
Copy the full SHA 21429edView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0cc872 - Browse repository at this point
Copy the full SHA a0cc872View commit details -
Rollup merge of rust-lang#89347 - TaKO8Ki:crate-or-module-typo, r=est…
…ebank suggestion for typoed crate or module Previously, the compiler didn't suggest similarly named crates or modules. This pull request adds a suggestion for typoed crates or modules. rust-lang#76208 before: ``` error[E0433]: failed to resolve: use of undeclared type or module `chono` --> src/main.rs:2:5 | 2 | use chono::prelude::*; | ^^^^^ use of undeclared type or module `chono` ``` after: ``` error[E0433]: failed to resolve: use of undeclared type or module `chono` --> src/main.rs:2:5 | 2 | use chono::prelude::*; | ^^^^^ | | | use of undeclared crate or module `chono` | help: a similar crate or module exists: `chrono` ```
Configuration menu - View commit details
-
Copy full SHA for efac68b - Browse repository at this point
Copy the full SHA efac68bView commit details -
Rollup merge of rust-lang#89670 - yoshuawuyts:available-parallelism-d…
…ocs, r=joshtriplett Improve `std::thread::available_parallelism` docs _Tracking issue: https://github.com/rust-lang/rust/issues/74479_ This PR reworks the documentation of `std::thread::available_parallelism`, as requested [here](rust-lang#89324 (comment)). ## Changes The following changes are made: - We've removed prior mentions of "hardware threads" and instead centers the docs around "parallelism" as a resource available to a program. - We now provide examples of when `available_parallelism` may return numbers that differ from the number of CPU cores in the host machine. - We now mention that the amount of available parallelism may change over time. - We make note of which platform components we don't take into account which more advanced users may want to take note of. - The example has been updated, which should be a bit easier to use. - We've added a docs alias to `num-cpus` which provides similar functionality to `available_parallelism`, and is one of the most popular crates on crates.io. --- Thanks! r? `@BurntSushi`
Configuration menu - View commit details
-
Copy full SHA for 06110c0 - Browse repository at this point
Copy the full SHA 06110c0View commit details -
Rollup merge of rust-lang#89757 - jyn514:submodule, r=Mark-Simulacrum
Use shallow clones for submodules This reduces the amount of git history downloaded for submodules from ~67M to ~11M. For comparison, a shallow clone of rust-lang/rust is 103M and a deep clone is 740M, so this almost halves the amount of history necessary if you made a shallow clone to start, and it's a significant reduction even if not. Closes rust-lang#63978. r? `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for 9f0ef18 - Browse repository at this point
Copy the full SHA 9f0ef18View commit details -
Rollup merge of rust-lang#89759 - jyn514:x-build-assemble, r=Mark-Sim…
…ulacrum Assemble the compiler when running `x.py build` Previously, there was no way to actually get binaries in `build/$TARGET/stage1/bin` without building the standard library. This makes it possible to build just the compiler. This can be useful when the standard library isn't actually necessary for trying out your tests (e.g. a bug that can be reproduced with only a `no_core` crate). Closes rust-lang#73519.
Configuration menu - View commit details
-
Copy full SHA for 204bd6e - Browse repository at this point
Copy the full SHA 204bd6eView commit details -
Rollup merge of rust-lang#89846 - esp-rs:riscv-esp-idf-changelog, r=M…
…ark-Simulacrum Add `riscv32imc-esp-espidf` to 1.56 changelog
Configuration menu - View commit details
-
Copy full SHA for 03638f1 - Browse repository at this point
Copy the full SHA 03638f1View commit details -
Rollup merge of rust-lang#89853 - cuviper:release-1.56, r=Mark-Simula…
…crum Update the 1.56.0 release header for consistency
Configuration menu - View commit details
-
Copy full SHA for a624eef - Browse repository at this point
Copy the full SHA a624eefView commit details