about summary refs log tree commit diff
path: root/editors/code/package.json
diff options
context:
space:
mode:
authorvsrs <vit@conrlab.com>2023-07-18 17:51:57 +0700
committervsrs <vit@conrlab.com>2023-07-18 17:51:57 +0700
commit3468b093bd01e2cebba7964b48c9cef9ceb9e70b (patch)
tree03db107b7a69c35854cc96d2ff5361e520ab6a03 /editors/code/package.json
parentcc2f0ec32cdd86c33e8a5c41dfbc842ad43f5a97 (diff)
downloadrust-3468b093bd01e2cebba7964b48c9cef9ceb9e70b.tar.gz
rust-3468b093bd01e2cebba7964b48c9cef9ceb9e70b.zip
Platform specific runnables env
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index ffb5dd9079a..6913841b3f7 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -325,6 +325,15 @@
                             "items": {
                                 "type": "object",
                                 "properties": {
+                                    "platform": {
+                                        "type": [
+                                            "null",
+                                            "string",
+                                            "array"
+                                        ],
+                                        "default": null,
+                                        "markdownDescription": "Platform(s) filter like \"win32\" or [\"linux\", \"win32\"]. See [process.platform](https://nodejs.org/api/process.html#processplatform) values."
+                                    },
                                     "mask": {
                                         "type": "string",
                                         "description": "Runnable name mask"