-
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 9 pull requests #122113
Rollup of 9 pull requests #122113
Commits on Mar 4, 2024
-
Allow bootstrap cache path to be set by environment variable
This allows the bootstrap cache path to be set by the `RUSTC_BOOTSTRAP_CACHE` environment variable. Setting the bootstrap cache path to an external location can help to speed up builds in cases where the build directory is not kept between builds, e.g. in CI or other automated build systems.
Configuration menu - View commit details
-
Copy full SHA for d911613 - Browse repository at this point
Copy the full SHA d911613View commit details
Commits on Mar 5, 2024
-
Add a build option to specify the bootstrap cache
Setting the bootstrap cache path to an external location can help to speed up builds in cases where the build directory is not kept between builds, e.g. in CI or other automated build systems.
Configuration menu - View commit details
-
Copy full SHA for c98e25b - Browse repository at this point
Copy the full SHA c98e25bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39887d3 - Browse repository at this point
Copy the full SHA 39887d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebc45c8 - Browse repository at this point
Copy the full SHA ebc45c8View commit details
Commits on Mar 6, 2024
-
Clarify how lowering
if
produces then/else blocksThis makes it easier to see that the call to `in_scope` returns both the then block and the else block. The rather confusing `unpack!` step is confined to its own separate line. (This patch reindents several lines, so using "ignore whitespace" is recommended in order to focus on the actual changes.)
Configuration menu - View commit details
-
Copy full SHA for 7396fd1 - Browse repository at this point
Copy the full SHA 7396fd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3402f39 - Browse repository at this point
Copy the full SHA 3402f39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 250e697 - Browse repository at this point
Copy the full SHA 250e697View commit details -
Configuration menu - View commit details
-
Copy full SHA for e81df3f - Browse repository at this point
Copy the full SHA e81df3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 533add8 - Browse repository at this point
Copy the full SHA 533add8View commit details -
The `TraitPredicate` no longer has constness as we have desugared it to work with the type system through const generics instead.
Configuration menu - View commit details
-
Copy full SHA for 1061c8d - Browse repository at this point
Copy the full SHA 1061c8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a4ff27 - Browse repository at this point
Copy the full SHA 5a4ff27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9957736 - Browse repository at this point
Copy the full SHA 9957736View commit details -
Update src/bootstrap/src/utils/change_tracker.rs
Co-authored-by: Onur Özkan <onurozkan.dev@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 0a80f9a - Browse repository at this point
Copy the full SHA 0a80f9aView commit details -
Rollup merge of rust-lang#121958 - chenyukang:yukang-fix-121915-impor…
…t, r=petrochenkov Fix redundant import errors for preload extern crate Fixes rust-lang#121915
Configuration menu - View commit details
-
Copy full SHA for 550b8a2 - Browse repository at this point
Copy the full SHA 550b8a2View commit details -
Rollup merge of rust-lang#121976 - lu-zero:bootstrap-cache, r=onur-ozkan
Add an option to have an external download/bootstrap cache Follow up from rust-lang#116697 to address rust-lang#116697 (review)
Configuration menu - View commit details
-
Copy full SHA for 24a2169 - Browse repository at this point
Copy the full SHA 24a2169View commit details -
Rollup merge of rust-lang#122022 - heiher:loongarch-features, r=petro…
…chenkov loongarch: add frecipe and relax target feature This PR adds `frecipe` and `relax` target features to LoongArch: * frecipe - Support frecipe.{s/d} and frsqrte.{s/d} instructions.. * relax - Enable Linker relaxation.
Configuration menu - View commit details
-
Copy full SHA for daf89d0 - Browse repository at this point
Copy the full SHA daf89d0View commit details -
Rollup merge of rust-lang#122026 - clubby789:fmt-removed, r=onur-ozkan
Do not try to format removed files If you removed a file, `x fmt` would confusingly print ``` formatting modified file path/to/file.rs ``` and pass it to the formatting logic. Filter out files with `D` (removed) status
Configuration menu - View commit details
-
Copy full SHA for 03ec79b - Browse repository at this point
Copy the full SHA 03ec79bView commit details -
Rollup merge of rust-lang#122027 - compiler-errors:rpitit-cycle, r=sp…
…astorino Uplift some feeding out of `associated_type_for_impl_trait_in_impl` and into queries This PR moves the `type_of` and `generics_of` query feeding out of `associated_type_for_impl_trait_in_impl`, since eagerly feeding results in query cycles due to a subtle interaction with `resolve_bound_vars`. Fixes rust-lang#122019 r? spastorino
Configuration menu - View commit details
-
Copy full SHA for 34cffae - Browse repository at this point
Copy the full SHA 34cffaeView commit details -
Rollup merge of rust-lang#122063 - Zalathar:lower-if, r=oli-obk
Make the lowering of `thir::ExprKind::If` easier to follow This targets a few code patterns that I found very confusing when I first tried to understand what this code is doing. No functional changes. I recommend looking at the changes individually, with whitespace hidden.
Configuration menu - View commit details
-
Copy full SHA for 37782da - Browse repository at this point
Copy the full SHA 37782daView commit details -
Rollup merge of rust-lang#122074 - KonradHoeffner:patch-2, r=jhpratt
Add missing PartialOrd trait implementation doc for array Analogously to vectors and slices, this PR documents the lexicographic sorting of PartialOrd as rustdoc comment on the trait implementation of PartialOrd for arrays. Associated issue: rust-lang#122073.
Configuration menu - View commit details
-
Copy full SHA for 6279ef2 - Browse repository at this point
Copy the full SHA 6279ef2View commit details -
Rollup merge of rust-lang#122082 - fee1-dead-contrib:rm-outdated-note…
…, r=compiler-errors remove outdated fixme comment The `TraitPredicate` no longer has constness as we have desugared it to work with the type system through const generics instead.
Configuration menu - View commit details
-
Copy full SHA for 75ebe83 - Browse repository at this point
Copy the full SHA 75ebe83View commit details -
Rollup merge of rust-lang#122091 - ChrisDenton:comment, r=RalfJung
Note why we're using a new thread in `test_get_os_named_thread` ``@RalfJung`` expressed some "surprise and confusion" about why we're spawning a new thread in this test. Hopefully this comment will help future readers.
Configuration menu - View commit details
-
Copy full SHA for 3827584 - Browse repository at this point
Copy the full SHA 3827584View commit details