diff options
| author | Josh McKinney <joshka@users.noreply.github.com> | 2024-03-28 20:39:21 -0700 |
|---|---|---|
| committer | Josh McKinney <joshka@users.noreply.github.com> | 2024-03-28 20:42:44 -0700 |
| commit | 29d28f801cf7cac6a2b80dadfd60f3f6823bc3cf (patch) | |
| tree | 3c05166c97442ea82947c2dcaea6b0bd03992a41 /src/tools/rust-analyzer/.github/actions/github-release/README.md | |
| parent | ab10eea62ec59bc676a946ae8be562edcaccb950 (diff) | |
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.
Diffstat (limited to 'src/tools/rust-analyzer/.github/actions/github-release/README.md')
| -rw-r--r-- | src/tools/rust-analyzer/.github/actions/github-release/README.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/.github/actions/github-release/README.md b/src/tools/rust-analyzer/.github/actions/github-release/README.md new file mode 100644 index 00000000000..c8ff3ec6e52 --- /dev/null +++ b/src/tools/rust-analyzer/.github/actions/github-release/README.md @@ -0,0 +1,21 @@ +# github-release + +Copy-pasted from +https://github.com/bytecodealliance/wasmtime/tree/8acfdbdd8aa550d1b84e0ce1e6222a6605d14e38/.github/actions/github-release + +An action used to publish GitHub releases for `wasmtime`. + +As of the time of this writing there's a few actions floating around which +perform github releases but they all tend to have their set of drawbacks. +Additionally nothing handles deleting releases which we need for our rolling +`dev` release. + +To handle all this, this action rolls its own implementation using the +actions/toolkit repository and packages published there. These run in a Docker +container and take various inputs to orchestrate the release from the build. + +More comments can be found in `main.js`. + +Testing this is really hard. If you want to try though run `npm install` and +then `node main.js`. You'll have to configure a bunch of env vars though to get +anything reasonably working. |
