Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/user/generated_config.adoc')
-rw-r--r--docs/user/generated_config.adoc20
1 files changed, 6 insertions, 14 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index 3948d8f7e7..e5d4395c34 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.
--