diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2020-02-17 22:07:24 +0200 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2020-02-17 22:07:24 +0200 |
| commit | b6b8fd9525099a54fa2065d55609808636bb5673 (patch) | |
| tree | 7ab4c825c2919090de7a0570ba9da0790c004de2 /docs/dev | |
| parent | aadab96c9d68938bdb90688af02b675dbbb7742d (diff) | |
| download | rust-b6b8fd9525099a54fa2065d55609808636bb5673.tar.gz rust-b6b8fd9525099a54fa2065d55609808636bb5673.zip | |
Replace ra_cli mentions
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/README.md | 8 | ||||
| -rw-r--r-- | docs/dev/architecture.md | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md index c834a3ff886..ba24524f230 100644 --- a/docs/dev/README.md +++ b/docs/dev/README.md @@ -113,7 +113,7 @@ communication, and `print!` would break it. If I need to fix something simultaneously in the server and in the client, I feel even more sad. I don't have a specific workflow for this case. -Additionally, I use `cargo run --release -p ra_cli -- analysis-stats +Additionally, I use `cargo run --release -p ra_lsp_server -- analysis-stats path/to/some/rust/crate` to run a batch analysis. This is primarily useful for performance optimizations, or for bug minimization. @@ -170,12 +170,12 @@ In particular, I have `export RA_PROFILE='*>10'` in my shell profile. To measure time for from-scratch analysis, use something like this: ``` -$ cargo run --release -p ra_cli -- analysis-stats ../chalk/ +$ cargo run --release -p ra_lsp_server -- analysis-stats ../chalk/ ``` For measuring time of incremental analysis, use either of these: ``` -$ cargo run --release -p ra_cli -- analysis-bench ../chalk/ --highlight ../chalk/chalk-engine/src/logic.rs -$ cargo run --release -p ra_cli -- analysis-bench ../chalk/ --complete ../chalk/chalk-engine/src/logic.rs:94:0 +$ cargo run --release -p ra_lsp_server -- analysis-bench ../chalk/ --highlight ../chalk/chalk-engine/src/logic.rs +$ cargo run --release -p ra_lsp_server -- analysis-bench ../chalk/ --complete ../chalk/chalk-engine/src/logic.rs:94:0 ``` diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 9675ed0b6eb..41c3909f7d3 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md @@ -147,10 +147,6 @@ different from data on disk. This is more or less the single really platform-dependent component, so it lives in a separate repository and has an extensive cross-platform CI testing. -### `crates/ra_cli` - -A CLI interface to rust-analyzer, mainly for testing. - ## Testing Infrastructure Rust Analyzer has three interesting [systems |
