diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-25 12:54:18 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-25 12:54:18 +0000 |
commit | 91c1af36120ed9b5ad1da4972ab18d0d042e991f (patch) | |
tree | 06fc97459be2a8a210d03a43542c9297a9d8d4f6 /crates/hir_ty | |
parent | 34034e4a64cd49e82171601e55ab6dd1d5b52cd4 (diff) | |
parent | 39dfca23f1634c1e21819806bdd696c8096d0f0f (diff) |
Merge #6354
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 <[email protected]>
Diffstat (limited to 'crates/hir_ty')
-rw-r--r-- | crates/hir_ty/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml index be7c812cb..367a1b98d 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir_ty/Cargo.toml | |||
@@ -17,7 +17,7 @@ ena = "0.14.0" | |||
17 | log = "0.4.8" | 17 | log = "0.4.8" |
18 | rustc-hash = "1.1.0" | 18 | rustc-hash = "1.1.0" |
19 | scoped-tls = "1" | 19 | scoped-tls = "1" |
20 | chalk-solve = "0.34" | 20 | chalk-solve = { version = "0.34", default-features = false } |
21 | chalk-ir = "0.34" | 21 | chalk-ir = "0.34" |
22 | chalk-recursive = "0.34" | 22 | chalk-recursive = "0.34" |
23 | 23 | ||