summaryrefslogtreecommitdiff
path: root/doc/ale-rust.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-19 18:10:29 +0000
committerw0rp <devw0rp@gmail.com>2017-12-19 18:10:29 +0000
commit73f61514c9039e7e863da3544f251d3f8d7d1956 (patch)
tree56a8b2160ef4d8b3e82a5349332af5bf6c95caa0 /doc/ale-rust.txt
parentcc8e5502c8fd9d0d2ba405214e05f90b4152e2b2 (diff)
downloadale-73f61514c9039e7e863da3544f251d3f8d7d1956.zip
Fix #1031 - Make the rust flags configurable
Diffstat (limited to 'doc/ale-rust.txt')
-rw-r--r--doc/ale-rust.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt
index 64d5293c..535f21d6 100644
--- a/doc/ale-rust.txt
+++ b/doc/ale-rust.txt
@@ -84,6 +84,19 @@ g:ale_rust_rls_toolchain *g:ale_rust_rls_toolchain*
===============================================================================
rustc *ale-rust-rustc*
+
+g:ale_rust_rustc_options *g:ale_rust_rustc_options*
+ *b:ale_rust_rustc_options*
+ Type: |String|
+ Default: `'-Z no-trans'`
+
+ The variable can be used to change the options passed to `rustc`.
+
+ `-Z no-trans` should only work with nightly builds of Rust. Be careful when
+ setting the options, as running `rustc` could execute code or generate
+ binary files.
+
+
g:ale_rust_ignore_error_codes *g:ale_rust_ignore_error_codes*
*b:ale_rust_ignore_error_codes*
Type: |List| of |String|s