File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ Warm up caches on project load.
1919--
2020How many worker threads to handle priming caches. The default `0` means to pick automatically.
2121--
22+ [[rust-analyzer.cargo.allTargets]]rust-analyzer.cargo.allTargets (default: `true` )::
23+ +
24+ --
25+ Pass `--all-targets` to cargo invocation.
26+ --
2227[[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true` )::
2328+
2429--
@@ -164,10 +169,11 @@ Unsets the implicit `#[cfg(test)]` for the specified crates.
164169--
165170Run the check command for diagnostics on save.
166171--
167- [[rust-analyzer.check.allTargets]]rust-analyzer.check.allTargets (default: `true ` )::
172+ [[rust-analyzer.check.allTargets]]rust-analyzer.check.allTargets (default: `null ` )::
168173+
169174--
170- Check all targets and tests (`--all-targets` ).
175+ Check all targets and tests (`--all-targets` ). Defaults to
176+ `#rust-analyzer.cargo.allTargets#` .
171177--
172178[[rust-analyzer.check.command]]rust-analyzer.check.command (default: `"check"` )::
173179+
Original file line number Diff line number Diff line change 1+ = Changelog #228
2+ :sectanchors:
3+ :experimental:
4+ :page-layout: post
5+
6+ Commit: commit:7a8374c162c64c17e865b98aad282d16b16e96d6[] +
7+ Release: release:2024-04-08[] (`v0.3.1916` )
8+
9+ == New Features
10+
11+ * pr:16924[], pr:16988[] add `rust-analyzer.cargo.allTargets` to configure passing `--all-targets` to `cargo` invocations.
12+
13+ == Fixes
14+
15+ * pr:17000[] (first contribution) set the right postfix snippets competion source range.
16+ * pr:16968[] silence type mismatches involving unresolved projections.
17+ * Fix `allTargets` config docs
18+ * pr:16997[] fix `patch_cfg_if` not applying with stitched sysroot.
19+ * pr:17006[] fix some `cfg` censoring bugs.
20+ * pr:17003[] fix off-by-one in LSP offset conversion.
21+ * pr:16961[] fix crate IDs when multiple workspaces are loaded.
22+ * pr:16970[] fix tasks in `tasks.json`.
23+ * pr:17016[] apply cargo flags in test explorer.
24+ * pr:17014[] consider `#[exported_name=main]` functions in test modules as tests.
25+
26+ == Internal Improvements
27+
28+ * pr:16996[] lower `Outlives` goals and respect them in display impls.
29+ * pr:17002[] consider ADT generic parameter defaults for unsubstituted layout calculations.
30+ * pr:16979[] use contiguous indices for enum variants in pattern analysis.
31+ * pr:17023[] slight clean-ups and perf improvements.
32+ * pr:16920[] fix new nightly Clippy lints.
33+ * pr:16986[] add client information to bug report template.
You can’t perform that action at this time.
0 commit comments