Skip to content

Commit 5ef9caa

Browse files
committed
Changelog #192
1 parent dae1f81 commit 5ef9caa

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

manual.adoc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,29 @@ Or it is possible to specify vars more granularly:
949949
You can use any valid regular expression as a mask.
950950
Also note that a full runnable name is something like *run bin_or_example_name*, *test some::mod::test_name* or *test-mod some::mod*, so it is possible to distinguish binaries, single tests, and test modules with this masks: `"^run"`, `"^test "` (the trailing space matters!), and `"^test-mod"` respectively.
951951

952+
If needed, you can set different values for different platforms:
953+
```jsonc
954+
"rust-analyzer.runnables.extraEnv": [
955+
{
956+
"platform": "win32", // windows only
957+
env: {
958+
"APP_DATA": "windows specific data"
959+
}
960+
},
961+
{
962+
"platform": ["linux"],
963+
"env": {
964+
"APP_DATA": "linux data",
965+
}
966+
},
967+
{ // for all platforms
968+
"env": {
969+
"APP_COMMON_DATA": "xxx",
970+
}
971+
}
972+
]
973+
```
974+
952975
==== Compiler feedback from external commands
953976

954977
Instead of relying on the built-in `cargo check`, you can configure Code to run a command in the background and use the `$rustc-watch` problem matcher to generate inline error markers from its output.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
= Changelog #192
2+
:sectanchors:
3+
:experimental:
4+
:page-layout: post
5+
6+
Commit: commit:429a3816adb99f33ef557767c874d2cd3a1ffa01[] +
7+
Release: release:2023-07-31[] (`v0.3.1607`)
8+
9+
== New Features
10+
* pr:15308[] add platform-specific runnable environment variables.
11+
12+
== Fixes
13+
14+
* pr:15356[] fix bad `unwrap` in `eager_macro_recur`.
15+
* pr:15357[] do not create function-like macro calls with non-fn expanders.
16+
* pr:15271[] properly infer types with type casts.
17+
* pr:15360[] fix up path fragments upon MBE transcription.
18+
* pr:15353[] add manual implementation of clone for tuples in MIR interpreter and fence intrinsics.
19+
* pr:15363[] support `Self` without field in MIR lowering.
20+
* pr:15349[] show anonymous `FnDef` types as function pointers.
21+
* pr:15359[] include proc macro server spawn errors in the status text.

0 commit comments

Comments
 (0)