Skip to content

Commit 1b2f1c3

Browse files
authored
for a more friendly output
Also, these are normal Rust things (crates/packages), so remove the word *normal*.
1 parent 64dd1c3 commit 1b2f1c3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/compiler-src.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,12 @@ something like this:
8686
[`Span`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/struct.Span.html
8787
[main]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/fn.main.html
8888

89-
You can see the exact dependencies by reading the [`Cargo.toml`] for the various
90-
crates, just like a normal Rust crate.
89+
You can see the exact dependencies by running `cargo tree`,
90+
just like you would for any other Rust package:
91+
92+
```console
93+
cargo tree --package rustc_driver
94+
```
9195

9296
One final thing: [`src/llvm-project`] is a submodule for our fork of LLVM.
9397
During bootstrapping, LLVM is built and the [`compiler/rustc_llvm`] crate

0 commit comments

Comments
 (0)