about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-25 07:08:24 +0000
committerbors <bors@rust-lang.org>2024-04-25 07:08:24 +0000
commit1709e37f18d9d964ad7e8a44e90e065831950c7b (patch)
treedc5cc51b233e5a8d995c9259400ba895e702bbb5 /tests/codegen/patchable-function-entry
parent5a315da949c157b96070c0c57fbab04087c1a801 (diff)
parent410f71fcc30bf6dbff4cba2c87633dc9450553b7 (diff)
downloadrust-1709e37f18d9d964ad7e8a44e90e065831950c7b.tar.gz
rust-1709e37f18d9d964ad7e8a44e90e065831950c7b.zip
Auto merge of #16972 - joshka:cargo-run-runnable, r=Veykril
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/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions