From 29d28f801cf7cac6a2b80dadfd60f3f6823bc3cf Mon Sep 17 00:00:00 2001 From: Josh McKinney Date: Thu, 28 Mar 2024 20:39:21 -0700 Subject: Make `cargo run` always available for binaries Previously, items for `cargo test` and `cargo check` would appear as in the `Select Runnable` quick pick that appears when running `rust-analyzer: Run`, but `run` would only appear as a runnable if a `main`` function was selected in the editor. This change adds `cargo run` as an always available runnable command for binary packages. This makes it easier to develop cli / tui applications, as now users can run application from anywhere in their codebase. --- .../rust-analyzer/.github/actions/github-release/package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/tools/rust-analyzer/.github/actions/github-release/package.json (limited to 'src/tools/rust-analyzer/.github/actions/github-release/package.json') diff --git a/src/tools/rust-analyzer/.github/actions/github-release/package.json b/src/tools/rust-analyzer/.github/actions/github-release/package.json new file mode 100644 index 00000000000..af4bf074d2d --- /dev/null +++ b/src/tools/rust-analyzer/.github/actions/github-release/package.json @@ -0,0 +1,10 @@ +{ + "name": "wasmtime-github-release", + "version": "0.0.0", + "main": "main.js", + "dependencies": { + "@actions/core": "^1.6", + "@actions/github": "^5.0", + "glob": "^7.1.5" + } +} -- cgit 1.4.1-3-g733a5