-
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 12 pull requests #129984
Rollup of 12 pull requests #129984
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 <[email protected]>
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 <[email protected]>
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 -
Configuration menu - View commit details
-
Copy full SHA for f7679d0 - Browse repository at this point
Copy the full SHA f7679d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49e3b9a - Browse repository at this point
Copy the full SHA 49e3b9aView commit details
Commits on Sep 5, 2024
-
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 e688b58 - Browse repository at this point
Copy the full SHA e688b58View commit details -
Rollup merge of rust-lang#129472 - folkertdev:const-refs-to-static-as…
…m-const, r=lcnr fix ICE when `asm_const` and `const_refs_to_static` are combined fixes rust-lang#129462 fixes rust-lang#126896 fixes rust-lang#124164 I think this is a case that was missed in the fix for rust-lang#125558, which inserts a type error in the case of an invalid (that is, non-integer) type being passed to an asm `const` operand. I'm not 100% sure that `span_mirbug_and_err` is the right macro here, but it is used earlier with `builtin_deref` and seems to do the trick. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for 39d9903 - Browse repository at this point
Copy the full SHA 39d9903View 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 d509cbf - Browse repository at this point
Copy the full SHA d509cbfView 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 36502ba - Browse repository at this point
Copy the full SHA 36502baView 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 999d20d - Browse repository at this point
Copy the full SHA 999d20dView 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 0d79ab9 - Browse repository at this point
Copy the full SHA 0d79ab9View 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 4a30cd1 - Browse repository at this point
Copy the full SHA 4a30cd1View 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 7b602a4 - Browse repository at this point
Copy the full SHA 7b602a4View 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 5e90e32 - Browse repository at this point
Copy the full SHA 5e90e32View 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 0e3c506 - Browse repository at this point
Copy the full SHA 0e3c506View 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 3ef4ae7 - Browse repository at this point
Copy the full SHA 3ef4ae7View 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 b9d6c52 - Browse repository at this point
Copy the full SHA b9d6c52View commit details