mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Fix and cleanup VSCode task building
This commit is contained in:
parent
6b8b8ff4c5
commit
8846b5cf4a
5 changed files with 85 additions and 72 deletions
|
@ -223,8 +223,16 @@ export type OpenCargoTomlParams = {
|
|||
export type Runnable = {
|
||||
label: string;
|
||||
location?: lc.LocationLink;
|
||||
kind: "cargo" | "shell";
|
||||
args: CargoRunnableArgs | ShellRunnableArgs;
|
||||
} & (RunnableCargo | RunnableShell);
|
||||
|
||||
type RunnableCargo = {
|
||||
kind: "cargo";
|
||||
args: CargoRunnableArgs;
|
||||
};
|
||||
|
||||
type RunnableShell = {
|
||||
kind: "shell";
|
||||
args: ShellRunnableArgs;
|
||||
};
|
||||
|
||||
export type ShellRunnableArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue