-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
std: Update the backtrace crate submodule #79237
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
|
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
r=me with CI fixed |
bed97ac
to
c8bdd52
Compare
@bors: r=Mark-Simulacrum |
📌 Commit c8bdd52743c2e33af41cdd26dde41f4bd07d2fcb has been approved by |
This commit updates the `library/backtrace` submodule which primarily pulls in support for split-debuginfo on macOS, avoiding the need for `dsymutil` to get run to get line numbers and filenames in backtraces.
c8bdd52
to
f99410b
Compare
@bors: r=Mark-Simulacrum |
📌 Commit f99410b has been approved by |
…rk-Simulacrum std: Update the bactrace crate submodule This commit updates the `library/backtrace` submodule which primarily pulls in support for split-debuginfo on macOS, avoiding the need for `dsymutil` to get run to get line numbers and filenames in backtraces.
⌛ Testing commit f99410b with merge 2b9c608fb8061377dcadeff137c5676051077eba... |
💔 Test failed - checks-actions |
@bors retry CI flake |
☀️ Test successful - checks-actions |
OMG, this is amazing! I don't know what wizardry it takes for it to find the debug info without the For me, an incremental build of cargo goes from 65s to 11s! Can we talk about stabilizing |
I've opened #79361 to start the discussion on that. |
That would be a breaking change as it would require cargo and other tools to either run dsymutil itself or uplift (copy from |
Yea, changing the default is wishful thinking on my part, just because I don't want to have to override it, and the benefits are huge for the majority of people working on macOS that don't need dSYM for anything else. I guess a good question is, are there any projects or tools that expect the I'm wondering if it would be better to add it is a profile setting? Then I could set I generally hate making breaking changes like this, but the hassle of doing all the above seems like a lot to accommodate a use case that I'm uncertain anyone actually needs.
I'm not sure what you mean specifically here. As long as you don't move the binary out of |
I won't disagree that turning off dsymutil by default would be a breaking change, but as @ehuss mentioned I think this is so high-value that it's worth pursuing. Obviously we'll mitigate the impact as much as possible and won't "just do this", but ignoring this massive win for compile-times on macOS I think is not a great idea in this case. |
This was a moderate regression in instruction counts (up to 1.4% on The 600% decrease in incremental times is amazing 🎉 🎉 congrats to everyone making that happen :) Unfortunately it's not tracked by |
|
It's probably due to the fact that there's just more code in libstd because there's a little bit more code in the backtrace crate to parse archives and find them on the filesystem. |
This commit updates the
library/backtrace
submodule which primarilypulls in support for split-debuginfo on macOS, avoiding the need for
dsymutil
to get run to get line numbers and filenames in backtraces.