Uh oh!
There was an error while loading. Please reload this page.
std: Update the backtrace crate submodule - #79237
Conversation
rust-highfive
commented
Nov 20, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
rust-highfive
commented
Nov 20, 2020
|
rust-log-analyzer
commented
Nov 20, 2020
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 |
Mark-Simulacrum
commented
Nov 20, 2020
r=me with CI fixed |
bed97ac to
c8bdd52Comparealexcrichton
commented
Nov 20, 2020
@bors: r=Mark-Simulacrum |
bors
commented
Nov 20, 2020
📌 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
f99410bComparealexcrichton
commented
Nov 20, 2020
@bors: r=Mark-Simulacrum |
bors
commented
Nov 20, 2020
📌 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.
bors
commented
Nov 21, 2020
⌛ Testing commit f99410b with merge 2b9c608fb8061377dcadeff137c5676051077eba... |
bors
commented
Nov 21, 2020
💔 Test failed - checks-actions |
sfackler
commented
Nov 21, 2020
@bors retry CI flake |
bors
commented
Nov 21, 2020
bors
commented
Nov 21, 2020
☀️ Test successful - checks-actions |
ehuss
commented
Nov 23, 2020
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 |
alexcrichton
commented
Nov 23, 2020
I've opened #79361 to start the discussion on that. |
bjorn3
commented
Nov 23, 2020
That would be a breaking change as it would require cargo and other tools to either run dsymutil itself or uplift (copy from |
ehuss
commented
Nov 23, 2020
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 |
alexcrichton
commented
Nov 23, 2020
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. |
jyn514
commented
Nov 24, 2020
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 |
|
alexcrichton
commented
Nov 24, 2020
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/backtracesubmodule which primarilypulls in support for split-debuginfo on macOS, avoiding the need for
dsymutilto get run to get line numbers and filenames in backtraces.