-
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 8 pull requests #127216
Rollup of 8 pull requests #127216
Commits on Jun 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bb00657 - Browse repository at this point
Copy the full SHA bb00657View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1031d4d - Browse repository at this point
Copy the full SHA 1031d4dView commit details
Commits on Jun 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 614e042 - Browse repository at this point
Copy the full SHA 614e042View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56fe015 - Browse repository at this point
Copy the full SHA 56fe015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 189232b - Browse repository at this point
Copy the full SHA 189232bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 68b6bb2 - Browse repository at this point
Copy the full SHA 68b6bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c1df37 - Browse repository at this point
Copy the full SHA 0c1df37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ef2699 - Browse repository at this point
Copy the full SHA 2ef2699View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f383d0 - Browse repository at this point
Copy the full SHA 7f383d0View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 583b5fc - Browse repository at this point
Copy the full SHA 583b5fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b97dc - Browse repository at this point
Copy the full SHA b5b97dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcfac05 - Browse repository at this point
Copy the full SHA fcfac05View commit details -
improve the way bootstrap handles rustlib components
When CI rustc is enabled, bootstrap tries to symlink the rust source (project root) into target sysroot right before copying it from the CI rustc's sysroot. This becomes a problem in CI builders (which we currently don't see because they don't use CI rustc) because the copying part will fail as they run on read-only mode. This change fixes the problem by copying `rustc-src` from the CI rustc sysroot and only symlinking `rustc-src` from the rust source when download-rustc is not enabled. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for fe6f3fa - Browse repository at this point
Copy the full SHA fe6f3faView commit details -
fail on component linking errors
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 97415ce - Browse repository at this point
Copy the full SHA 97415ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for af31c33 - Browse repository at this point
Copy the full SHA af31c33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f9a0d3 - Browse repository at this point
Copy the full SHA 5f9a0d3View commit details -
Rollup merge of rust-lang#126732 - StackOverflowExcept1on:master, r=m…
…-ou-se Stabilize `PanicInfo::message()` and `PanicMessage` Resolves rust-lang#66745 This stabilizes the [`PanicInfo::message()`](https://doc.rust-lang.org/nightly/core/panic/struct.PanicInfo.html#method.message) and [`PanicMessage`](https://doc.rust-lang.org/nightly/core/panic/struct.PanicMessage.html). Demonstration of [custom panic handler](https://github.com/StackOverflowExcept1on/panicker): ```rust #![no_std] #![no_main] extern crate libc; #[no_mangle] extern "C" fn main() -> libc::c_int { panic!("I just panic every time"); } #[panic_handler] fn my_panic(panic_info: &core::panic::PanicInfo) -> ! { use arrayvec::ArrayString; use core::fmt::Write; let message = panic_info.message(); let location = panic_info.location().unwrap(); let mut debug_msg = ArrayString::<1024>::new(); let _ = write!(&mut debug_msg, "panicked with '{message}' at '{location}'"); if debug_msg.try_push_str("\0").is_ok() { unsafe { libc::puts(debug_msg.as_ptr() as *const _); } } unsafe { libc::exit(libc::EXIT_FAILURE) } } ``` ``` $ cargo +stage1 run --release panicked with 'I just panic every time' at 'src/main.rs:8:5' ``` - [x] FCP: rust-lang#66745 (comment) r? libs-api
Configuration menu - View commit details
-
Copy full SHA for 61db24d - Browse repository at this point
Copy the full SHA 61db24dView commit details -
Rollup merge of rust-lang#126753 - compiler-errors:use-style-guide, r…
…=joshtriplett,calebcartwright Add nightly style guide section for `precise_capturing` `use<>` syntax r? style Tracking: - rust-lang#123432
Configuration menu - View commit details
-
Copy full SHA for c4baa3f - Browse repository at this point
Copy the full SHA c4baa3fView commit details -
Rollup merge of rust-lang#126832 - petrochenkov:linkarg, r=jieyouxu
linker: Refactor interface for passing arguments to linker Separate arguments into passed to the underlying linker, to cc wrapper, or supported by both. Also avoid allocations in all the argument passing functions. The interfaces would look nicer if not the limitations on returning `&mut Self` in `dyn`-compatible traits, and unnecessary conflicts between `Trait` and `dyn Trait` methods. try-job: armhf-gnu try-job: aarch64-gnu try-job: dist-x86_64-linux try-job: x86_64-msvc try-job: i686-msvc try-job: dist-x86_64-apple try-job: test-various
Configuration menu - View commit details
-
Copy full SHA for 6b2e644 - Browse repository at this point
Copy the full SHA 6b2e644View commit details -
Rollup merge of rust-lang#126880 - Rejyr:migrate-rmake-vw, r=Kobzol
Migrate `volatile-intrinsics`, `weird-output-filenames`, `wasm-override-linker`, `wasm-exceptions-nostd` to `rmake` Also refactors `wasm-abi` and `compressed-debuginfo`. Part of rust-lang#121876. r? ``@jieyouxu`` try-job: x86_64-gnu-debug try-job: dist-various-2
Configuration menu - View commit details
-
Copy full SHA for 61e7f05 - Browse repository at this point
Copy the full SHA 61e7f05View commit details -
Rollup merge of rust-lang#127128 - elomatreb:elomatreb/stabilize-dura…
…tion_abs_diff, r=joboet Stabilize `duration_abs_diff` Stabilize `duration_abs_diff` following FCP in rust-lang#117618. Closes rust-lang#117618.
Configuration menu - View commit details
-
Copy full SHA for f5810c4 - Browse repository at this point
Copy the full SHA f5810c4View commit details -
Rollup merge of rust-lang#127129 - compiler-errors:full-expr-span, r=…
…jieyouxu Use full expr span for return suggestion on type error/ambiguity We sometimes use parts of an expression rather than the whole thing for an obligation span. For example, a method obligation will just point to the path segment corresponding to the `method` in `rcvr.method(args)`. So let's not use that assuming it'll point to the *whole* expression span, which we can access from the expr hir id we store in `ObligationCauseCode::WhereClauseInExpr`. Fixes rust-lang#127109
Configuration menu - View commit details
-
Copy full SHA for 61fe6b6 - Browse repository at this point
Copy the full SHA 61fe6b6View commit details -
Rollup merge of rust-lang#127188 - onur-ozkan:rustc-src-fix, r=Kobzol
improve the way bootstrap handles rustlib components When CI rustc is enabled, bootstrap tries to symlink the rust source (project root) into target sysroot right before copying it from the CI rustc's sysroot. This becomes a problem in CI builders (which we currently don't see because they don't use CI rustc) because the copying part will fail as [they run on read-only mode](https://github.com/rust-lang/rust/blob/ef3d6fd7002500af0a985f70d3ac5152623c1396/src/ci/docker/run.sh#L233). This change fixes the problem by copying `rustc-src` from the CI rustc sysroot and only symlinking `rustc-src` from the rust source when download-rustc is not enabled. r? ``@Kobzol`` (we talked about this already on Zulip, he knows the context) Blocker for rust-lang#122709
Configuration menu - View commit details
-
Copy full SHA for cb81d0d - Browse repository at this point
Copy the full SHA cb81d0dView commit details -
Rollup merge of rust-lang#127201 - GuillaumeGomez:improve-run-make-su…
…pport, r=Kobzol Improve run-make-support API I think I'll slowly continue this work. Makes things a bit nicer for contributors, so why not. :D r? ``@Kobzol``
Configuration menu - View commit details
-
Copy full SHA for a509b5a - Browse repository at this point
Copy the full SHA a509b5aView commit details