about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-10 19:00:10 +0100
committerGitHub <noreply@github.com>2022-03-10 19:00:10 +0100
commitfa685a54995accf77785e7df5f89b05a9d4c473e (patch)
tree5de0d130673f9749359240fbe7512626a02d2bf8
parentec991044145c0f9da12f5723686c927369afaa16 (diff)
parent687e53ebfe107fb81288df0273e581c55fd411a4 (diff)
downloadrust-fa685a54995accf77785e7df5f89b05a9d4c473e.tar.gz
rust-fa685a54995accf77785e7df5f89b05a9d4c473e.zip
Rollup merge of #94796 - jyn514:cargo-run-bootstrap, r=Mark-Simulacrum
Allow `cargo run` instead of `cargo run -p bootstrap`

This was part of `@Mark-Simulacrum` 's original PR in https://github.com/rust-lang/rust/commit/ecb424f12992a4aebace8a153d5efea040327a01,
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.
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cae48d79517..4e783996064 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,4 +1,5 @@
 [workspace]
+default-members = ["src/bootstrap"]
 members = [
   "src/bootstrap",
   "compiler/rustc",