summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-05 18:37:44 +0000
committerw0rp <devw0rp@gmail.com>2017-11-05 18:37:44 +0000
commit7b5108d934d8682490ab3d9af25361e06a3df3f8 (patch)
tree3d377cb8a06600c2970bd4c34a11b3b68e92a49c /doc
parentcaed406e16b1c6c4212553b0feec992ca289daac (diff)
downloadale-7b5108d934d8682490ab3d9af25361e06a3df3f8.zip
Fix #626 - Automatically use `cargo check` and `cargo check --all-targets` for cargo versions that are new enough
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-rust.txt18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt
index e20aea2c..15ffef01 100644
--- a/doc/ale-rust.txt
+++ b/doc/ale-rust.txt
@@ -41,10 +41,22 @@ cargo *ale-rust-cargo*
g:ale_rust_cargo_use_check *g:ale_rust_cargo_use_check*
*b:ale_rust_cargo_use_check*
Type: |Number|
- Default: `0`
+ Default: `1`
- When set to `1`, this option will cause ALE to use "cargo check" instead of
- "cargo build". "cargo check" is supported since version 1.16.0 of Rust.
+ When set to `1`, this option will cause ALE to use `cargo check` instead of
+ `cargo build` . `cargo check` is supported since version 1.16.0 of Rust.
+
+ ALE will never use `cargo check` when the version of `cargo` is less than
+ 0.17.0.
+
+
+g:ale_rust_cargo_check_all_targets *g:ale_rust_cargo_check_all_targets*
+ *b:ale_rust_cargo_check_all_targets*
+ Type: |Number|
+ Default: `1`
+
+ When set to `1`, ALE will set the `--all-targets` option when `cargo check`
+ is used. See |g:ale_rust_cargo_use_check|,
===============================================================================