-
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 13 pull requests #129977
Rollup of 13 pull requests #129977
Commits on Jul 7, 2024
-
Call the target libdir target libdir
Because it's the target libdir. `--print` uses the same terminology, and it's a simple way to make it obviously different from `$sysroot/lib`.
Configuration menu - View commit details
-
Copy full SHA for 7627a54 - Browse repository at this point
Copy the full SHA 7627a54View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 318b4f3 - Browse repository at this point
Copy the full SHA 318b4f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7cd99d - Browse repository at this point
Copy the full SHA b7cd99dView commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 846cb34 - Browse repository at this point
Copy the full SHA 846cb34View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 78971f3 - Browse repository at this point
Copy the full SHA 78971f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a80840 - Browse repository at this point
Copy the full SHA 4a80840View commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ef4f5d - Browse repository at this point
Copy the full SHA 1ef4f5dView commit details
Commits on Aug 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b5bd0fe - Browse repository at this point
Copy the full SHA b5bd0feView commit details
Commits on Aug 30, 2024
-
bootstrap: Try to track down why
initial_libdir
sometimes failsDetermining this path occasionally fails locally for unknown reasons, resulting in the build failing with an unhelpful `StripPrefixError(())` panic message. In order to track down why that's happening, include some relevant information in the panic message when that failure occurs.
Configuration menu - View commit details
-
Copy full SHA for 21edc73 - Browse repository at this point
Copy the full SHA 21edc73View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0402394 - Browse repository at this point
Copy the full SHA 0402394View commit details -
copy rustc rustlib artifacts from ci-rustc
We recently had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for b5d07fd - Browse repository at this point
Copy the full SHA b5d07fdView commit details -
rustc_codegen_llvm: fix a regression where backchain feature ...
... can not be correctly gated using #[cfg] macro
Configuration menu - View commit details
-
Copy full SHA for e98e88b - Browse repository at this point
Copy the full SHA e98e88bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f74b4 - Browse repository at this point
Copy the full SHA 98f74b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3efe3d - Browse repository at this point
Copy the full SHA f3efe3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2484be - Browse repository at this point
Copy the full SHA e2484beView commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4df28b8 - Browse repository at this point
Copy the full SHA 4df28b8View commit details -
use the bootstrapped compiler for
test-float-parse
testSigned-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 9cb6d12 - Browse repository at this point
Copy the full SHA 9cb6d12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93b4b2d - Browse repository at this point
Copy the full SHA 93b4b2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4c5c1 - Browse repository at this point
Copy the full SHA 6e4c5c1View commit details
Commits on Sep 5, 2024
-
Rollup merge of rust-lang#126136 - Noratrieb:bootstrap-naming, r=onur…
…-ozkan Call the target libdir target libdir Because it's the target libdir. `--print` uses the same terminology, and it's a simple way to make it obviously different from `$sysroot/lib`.
Configuration menu - View commit details
-
Copy full SHA for cd2ce8d - Browse repository at this point
Copy the full SHA cd2ce8dView commit details -
Rollup merge of rust-lang#128919 - Nadrieril:lint-query-leaks, r=cjgi…
…llot Add an internal lint that warns when accessing untracked data Some methods access data that is not tracked by the query system and should be used with caution. As suggested in rust-lang#128815 (comment), in this PR I propose a lint (modeled on the `potential_query_instability` lint) that warns when using some specially-annotatted functions. I can't tell myself if this lint would be that useful, compared to renaming `Steal::is_stolen` to `is_stolen_untracked`. This would depend on whether there are other functions we'd want to lint like this. So far it seems they're called `*_untracked`, which may be clear enough. r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for 7440221 - Browse repository at this point
Copy the full SHA 7440221View commit details -
Rollup merge of rust-lang#129471 - GuillaumeGomez:sort-impl-associate…
…d-items, r=t-rustdoc-frontend [rustdoc] Sort impl associated items by kinds and then by appearance Following [this zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/266220-t-rustdoc/topic/.22Freeze.22.20order.20of.20items.20in.20.28trait.29.20impls.3F), I implemented it. This brings the following change: impl associated items will now be grouped by kind and will now be first sorted by kind and then by the order they are declared in the source code (like currently). The kinds are sorted in the following order: 1. Constants 2. Types 3. Functions The reason behind this order is that associated constants can be used in associated types (like length in arrays) and both associated types and associated constants can be used in associated functions. So if an associated item from the same impl is used, its definition will always be above where it's being used. cc ```@camelid``` r? ```@notriddle```
Configuration menu - View commit details
-
Copy full SHA for 9d2525a - Browse repository at this point
Copy the full SHA 9d2525aView commit details -
Rollup merge of rust-lang#129653 - RalfJung:addr-of-read-only, r=scot…
…tmcm clarify that addr_of creates read-only pointers Stacked Borrows does make this UB, but Tree Borrows does not. This is tied up with rust-lang#56604 and other UCG discussions. Also see [this collection of links](Rust-for-Linux/linux#950 (comment)) where rustc treats `addr_of!` as a "non-mutating use". So, let's better be careful for now.
Configuration menu - View commit details
-
Copy full SHA for 7c78780 - Browse repository at this point
Copy the full SHA 7c78780View commit details -
Rollup merge of rust-lang#129775 - Zalathar:initial-libdir, r=albertl…
…arsan68 bootstrap: Try to track down why `initial_libdir` sometimes fails When I try to run `x` commands from the command-line, I occasionally see a mysterious failure that looks something like this: ```text thread 'main' panicked at src/lib.rs:341:14: called `Result::unwrap()` on an `Err` value: StripPrefixError(()) ``` It happens often enough to be annoying, but rarely enough that I can't reproduce it at will. The error message points to a particular `unwrap` call, but doesn't include enough context to determine *why* the failure occurs. Re-running the command almost always works, so I suspect some kind of filesystem race condition (possibly involving VSCode invoking bootstrap at the same time), but there's not much I can do with the information I currently have. So this PR includes some relevant information in the panic message when the failure occurs, in the hope that doing so will make the cause easier to track down when the failure occurs again.
Configuration menu - View commit details
-
Copy full SHA for dd8ba78 - Browse repository at this point
Copy the full SHA dd8ba78View commit details -
Rollup merge of rust-lang#129939 - RalfJung:rvalue-len, r=compiler-er…
…rors explain why Rvalue::Len still exists I just spent a bit of time trying to remove this until I realized why that's non-trivial. Let's document that for the next person. :)
Configuration menu - View commit details
-
Copy full SHA for f950a0d - Browse repository at this point
Copy the full SHA f950a0dView commit details -
Rollup merge of rust-lang#129940 - liushuyu:s390x-target-features, r=…
…RalfJung s390x: Fix a regression related to backchain feature In rust-lang#127506, we introduced a new IBM Z-specific target feature, `backchain`. This particular `target-feature` was available as a function-level attribute in LLVM 17 and below, so some hacks were used to avoid blowing up LLVM when querying the supported LLVM features. This led to an unfortunate regression where `cfg!(target-feature = "backchain")` will always return true. This pull request aims to fix this issue, and a test has been introduced to ensure it will never happen again. Fixes rust-lang#129927. r? `@RalfJung`
Configuration menu - View commit details
-
Copy full SHA for 5dbbd00 - Browse repository at this point
Copy the full SHA 5dbbd00View commit details -
Rollup merge of rust-lang#129942 - onur-ozkan:building-rustc-tools, r…
…=Kobzol copy rustc rustlib artifacts from ci-rustc We recently (since rust-lang#129311) had an issue because some rustlib files were missing (like: "error[E0463]: can't find crate for rustc_ast") when building tools that rely on rustc. This patch fixes that by copying those files as required. r? Kobzol Blocker for rust-lang#122709
Configuration menu - View commit details
-
Copy full SHA for 5118e61 - Browse repository at this point
Copy the full SHA 5118e61View commit details -
Rollup merge of rust-lang#129943 - onur-ozkan:test-float-parse-compil…
…er, r=Kobzol use the bootstrapped compiler for `test-float-parse` test Fixes rust-lang#122709 (comment). Blocker for rust-lang#122709
Configuration menu - View commit details
-
Copy full SHA for f22677b - Browse repository at this point
Copy the full SHA f22677bView commit details -
Rollup merge of rust-lang#129944 - Mark-Simulacrum:relnotes-tweak, r=…
…pietroalbini Add compat note for trait solver change r? `@pietroalbini` `@BoxyUwU` cc `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 7cbbded - Browse repository at this point
Copy the full SHA 7cbbdedView commit details -
Rollup merge of rust-lang#129947 - LiterallyVoid:duration-docs-digit-…
…separators, r=tgross35 Add digit separators in `Duration` examples `@rustbot` label A-docs
Configuration menu - View commit details
-
Copy full SHA for 5ed7989 - Browse repository at this point
Copy the full SHA 5ed7989View commit details -
Rollup merge of rust-lang#129955 - fmease:fmease-break, r=fmease
Temporarily remove fmease from the review rotation Namely for like a week. I seriously need to work off my review backlog! r? fmease
Configuration menu - View commit details
-
Copy full SHA for ffa8421 - Browse repository at this point
Copy the full SHA ffa8421View commit details -
Rollup merge of rust-lang#129957 - chenx97:lint-docs-linker-opt, r=al…
…bertlarsan68 forward linker option to lint-docs This fixes an error found when building the doc for a cross-built toolchain. ``` warning: the code example in lint `unstable_syntax_pre_expansion` in /buildroots/chenx97/rustc-1.80.1-src/compiler/rustc_lint_defs/src/builtin.rs failed to generate the expected output: did not find lint `unstable_syntax_p re_expansion` in output of example, got: error: linking with `cc` failed: exit status: 1 ... ``` Closes: rust-lang#129956
Configuration menu - View commit details
-
Copy full SHA for 4ce79bc - Browse repository at this point
Copy the full SHA 4ce79bcView commit details