-
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
include backtrace folder in rust-src component #74520
Conversation
@bors r+ p=1 This broke perf (though I fixed that without that, rust-lang/rustc-perf#693) but I suspect it'll break rust-analyzer and other similar tooling. We should maybe think about checking that rust-src can build std or something along those lines in CI. |
📌 Commit d7a36d8 has been approved by |
@bors rollup |
Sorry for the breakage! |
⌛ Testing commit d7a36d8 with merge decd538723a45cd490ece6b8bf040ef1d546e6b0... |
💔 Test failed - checks-azure |
@bors retry p=5 Cargo's CI is also broken.
|
⌛ Testing commit d7a36d8 with merge 157907fef84eafe3d595b9d3f4e7ec20b5e17854... |
💔 Test failed - checks-azure |
That... is an unexpected failure! I guess it's presumably spurious, though, since this PR isn't touching anything related. @bors retry backtrace-debuginfo test trace does not match position list |
…arth Rollup of 9 pull requests Successful merges: - rust-lang#73618 (Documentation for the false keyword) - rust-lang#74486 (Improve Read::read_exact documentation) - rust-lang#74514 (Do not clobber RUSTDOCFLAGS) - rust-lang#74516 (do not try fetching the ancestors of errored trait impls) - rust-lang#74520 (include backtrace folder in rust-src component) - rust-lang#74523 (Improve documentation for `core::fmt` internals) - rust-lang#74527 (Add myself to toolstate change notifications for rustfmt) - rust-lang#74534 (Only skip impls of foreign unstable traits) - rust-lang#74536 (fix documentation surrounding the `in` and `for` keywords) Failed merges: r? @ghost
Fix rust-src component. The rust-src component could not be installed by rustup because it included some symbolic links. rust-lang#74520 added the backtrace directory which included some symlinks. Since the rust-src component doesn't need most of the files in the `backtrace` submodule, this changes it to only include the minimum necessary. Tested with cargo's build-std that it can build from the resulting tarball. Fixes rust-lang#74577
libstd has a mandatory dependency on this code, ergo we need to include it in rust-src.
r? @oli-obk
Fixes #74506