]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6354
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 25 Oct 2020 12:54:18 +0000 (12:54 +0000)
committerGitHub <noreply@github.com>
Sun, 25 Oct 2020 12:54:18 +0000 (12:54 +0000)
6354: Add tracing to main rust-analyzer binary r=flodiebold a=flodiebold

This makes `CHALK_DEBUG` logging work again e.g. when running `analysis-stats`, which is very helpful for debugging.

This change shouldn't regress compile times at all. The reason for that is that chalk-solve already pulls in these crates, and while that's behind a feature (mostly for our benefit, I think) we never actually disabled that feature :sweat_smile: So alternatively, we could disable the feature and maybe get an improvement in compile times. In my test I just did to see the impact of that, this PR actually compiled faster than the one just removing tracing though, so it's probably not a big deal.

Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>

Trivial merge