mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-30 15:03:42 +00:00
3484d727c3
This adds some tools helpful when debugging nondeterminism in analysis-stats: - a `--randomize` option that analyses everything in random order - a `-vv` option that prints even more detail Also add a debug log if Chalk fuel is exhausted (which would be a source of nondeterminism, but didn't happen in my tests). I found one source of nondeterminism (rust-lang/chalk#331), but there are still other cases remaining.
25 lines
697 B
TOML
25 lines
697 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "ra_cli"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
publish = false
|
|
|
|
[dependencies]
|
|
itertools = "0.8.0"
|
|
pico-args = "0.3.0"
|
|
env_logger = { version = "0.7.1", default-features = false }
|
|
rand = { version = "0.7.0", features = ["small_rng"] }
|
|
|
|
ra_syntax = { path = "../ra_syntax" }
|
|
ra_ide = { path = "../ra_ide" }
|
|
ra_batch = { path = "../ra_batch" }
|
|
hir = { path = "../ra_hir", package = "ra_hir" }
|
|
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
|
|
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
|
|
ra_db = { path = "../ra_db" }
|
|
|
|
[dependencies.ra_prof]
|
|
path = "../ra_prof"
|
|
# features = [ "cpu_profiler" ]
|
|
# features = [ "jemalloc" ]
|