about summary refs log tree commit diff
path: root/tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
diff options
context:
space:
mode:
authorJosh McKinney <joshka@users.noreply.github.com>2024-03-28 20:39:21 -0700
committerJosh McKinney <joshka@users.noreply.github.com>2024-03-28 20:42:44 -0700
commit29d28f801cf7cac6a2b80dadfd60f3f6823bc3cf (patch)
tree3c05166c97442ea82947c2dcaea6b0bd03992a41 /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs
parentab10eea62ec59bc676a946ae8be562edcaccb950 (diff)
downloadrust-29d28f801cf7cac6a2b80dadfd60f3f6823bc3cf.tar.gz
rust-29d28f801cf7cac6a2b80dadfd60f3f6823bc3cf.zip
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 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions