Skip to content

Commit

Permalink
document new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 16, 2018
1 parent 04abd5e commit 34a5cfb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/doc/src/reference/unstable.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,3 +308,15 @@ $ cargo +nightly build -Z compile-progress
Compiling utf8-ranges v1.0.0
Building [=======> ] 2/14: libc, regex, uc...
```

### default-run
* Original issue: [#2200](https://github.com/rust-lang/cargo/issues/2200)

The `default-run` option in the `[project]` section of the manifest can be used
to specify a default binary picked by `cargo run`. For example, when there is
both `src/bin/a.rs` and `src/bin/b.rs`:

```toml
[project]
default-run = "a"
```

0 comments on commit 34a5cfb

Please sign in to comment.