From 5b26629a4d8ca388db1b272a7c8b8ea37f45c9f9 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Sat, 5 Sep 2020 16:21:14 +0300 Subject: Support 'runnables' options in the vs code extension --- editors/code/package.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index bdd8a0c29..cc2ac3bd2 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -651,6 +651,22 @@ ], "default": "full", "description": "The strategy to use when inserting new imports or merging imports." + }, + "rust-analyzer.runnables.overrideCargo": { + "type": [ + "null", + "string" + ], + "default": null, + "description": "Command to be executed instead of 'cargo' for runnables." + }, + "rust-analyzer.runnables.cargoExtraArgs": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Additional arguments to be passed to cargo for runnables such as tests or binaries.\nFor example, it may be '--release'" } } }, -- cgit v1.2.3