-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.T-cargoTeam: CargoTeam: Cargodisposition-mergeFCP with intent to mergeFCP with intent to mergefinished-final-comment-periodFCP completeFCP complete
Description
Original Issue: #2200
Implementation PR: #5710
Documentation: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#default-run
Summary
The default-run
feature provides a way to specify which binary will be run by default by cargo run
when there are multiple binaries.
[package]
default-run = "foo"
Unresolved issues
- The error message when
default-run
specifies a non-existing binary is not great (it just says "no bin target named …"). I think it should point the user to thedefault-run
definition.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: A tracking issue for something unstable.Category: A tracking issue for something unstable.T-cargoTeam: CargoTeam: Cargodisposition-mergeFCP with intent to mergeFCP with intent to mergefinished-final-comment-periodFCP completeFCP complete