@@ -98,22 +98,20 @@ Currently we accept the following options:
98
98
` build_bin ` .
99
99
* ` build_bin ` (` String ` , defaults to ` "" ` ) checks the project as if you passed
100
100
` -- bin <build_bin> ` argument to cargo. Mutually exclusive with ` build_lib ` .
101
- * ` cfg_test ` (` bool ` , defaults to ` true ` ) checks the project as if you were
101
+ * ` cfg_test ` (` bool ` , defaults to ` false ` ) checks the project as if you were
102
102
running ` cargo test ` rather than ` cargo build ` . I.e., compiles (but does not
103
103
run) test code.
104
104
* ` unstable_features ` (` bool ` , defaults to ` false ` ) enables unstable features.
105
- Currently, this includes range formatting and ` workspace_mode ` ,
106
- ` analyze_package ` options.
105
+ Currently no option requires this flag.
107
106
* ` sysroot ` (` String ` , defaults to ` "" ` ) if the given string is not empty, use
108
107
the given path as the sysroot for all rustc invocations instead of trying to
109
108
detect the sysroot automatically
110
109
* ` target ` (` String ` , defaults to ` "" ` ) if the given string is not empty, use
111
110
the given target triple for all rustc invocations
112
111
* ` wait_to_build ` (` u64 ` , defaults to ` 500 ` ) time in milliseconds between
113
112
receiving a change notification and starting build
114
- * ` workspace_mode ` (` bool ` , defaults to ` false ` ) Experimental mode, requires
115
- ` unstable_features ` turned on. When turned on, RLS will try to scan current
116
- workspace and analyze every package in it.
113
+ * ` workspace_mode ` (` bool ` , defaults to ` true ` ) When turned on, RLS will try
114
+ to scan current workspace and analyze every package in it.
117
115
* ` analyze_package ` (` String ` , defaults to ` "" ` ) When ` workspace_mode ` is
118
116
enabled, analysis will be only provided for the specified package (runs as
119
117
if ` -p <analyze_package> ` was passed).
0 commit comments