Skip to content

Commit

Permalink
Rollup merge of #94796 - jyn514:cargo-run-bootstrap, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Allow `cargo run` instead of `cargo run -p bootstrap`

This was part of `@Mark-Simulacrum` 's original PR in ecb424f,
but I missed it when writing #92260.

This also has the side effect of allowing `cargo build --bins` instead of `cargo build -p bootstrap --bins`. I'm not sure when you would want to run cargo build/check/test without going through bootstrap, but this still allows you to do so as long as you pass `-p` for all the crates you want to build.
  • Loading branch information
matthiaskrgr committed Mar 10, 2022
2 parents ec99104 + 687e53e commit fa685a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
default-members = ["src/bootstrap"]
members = [
"src/bootstrap",
"compiler/rustc",
Expand Down

0 comments on commit fa685a5

Please sign in to comment.