diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-10-19 23:34:36 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-10-19 23:53:00 +0200 |
| commit | 46732369f4b8246e6dc764ef1aa01d03ab5f52b7 (patch) | |
| tree | 7a8e341feb576673e0777a060709e53f0056d5da /docs | |
| parent | 7db50294a3e458b7dd00ee646eee75a7ec933e3b (diff) | |
| download | rust-46732369f4b8246e6dc764ef1aa01d03ab5f52b7.tar.gz rust-46732369f4b8246e6dc764ef1aa01d03ab5f52b7.zip | |
Remove simplistic interpolation for manifest-path
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 3948d8f7e72..e5d4395c345 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -28,13 +28,9 @@ Run build scripts (`build.rs`) for more precise code analysis. + -- Specifies the invocation strategy to use when running the build scripts command. -If `per_workspace` is set, the command will be executed for each workspace and all -occurrences of `$manifest_path` in the command will be replaced by the corresponding -manifest path of the workspace that the command is being invoked for. If interpolation -for the manifest path happens at least once, the commands will be executed from the -project root, otherwise the commands will be executed from the corresponding workspace -root. -If `once_in_root` is set, the command will be executed once in the project root. +If `per_workspace` is set, the command will be executed for each workspace from the +corresponding workspace root. +If `once` is set, the command will be executed once in the project root. This config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#` is set. -- @@ -136,13 +132,9 @@ Set to `"all"` to pass `--all-features` to Cargo. + -- Specifies the invocation strategy to use when running the checkOnSave command. -If `per_workspace` is set, the command will be executed for each workspace and all -occurrences of `$manifest_path` in the command will be replaced by the corresponding -manifest path of the workspace that the command is being invoked for. If interpolation -for the manifest path happens at least once, the commands will be executed from the -project root, otherwise the commands will be executed from the corresponding workspace -root. -If `once_in_root` is set, the command will be executed once in the project root. +If `per_workspace` is set, the command will be executed for each workspace from the +corresponding workspace root. +If `once` is set, the command will be executed once in the project root. This config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#` is set. -- |
