From 369969a6c72f12cd29fa34cccf8ea8769397f9df Mon Sep 17 00:00:00 2001 From: Amanjeev Sethi Date: Sat, 18 Apr 2026 18:25:35 -0400 Subject: [PATCH] PR review: use better command --- .../rustc-dev-guide/src/rustc-driver/external-rustc-drivers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/rustc-dev-guide/src/rustc-driver/external-rustc-drivers.md b/src/doc/rustc-dev-guide/src/rustc-driver/external-rustc-drivers.md index 9db24a251f95..7465dd2e9734 100644 --- a/src/doc/rustc-dev-guide/src/rustc-driver/external-rustc-drivers.md +++ b/src/doc/rustc-dev-guide/src/rustc-driver/external-rustc-drivers.md @@ -79,8 +79,7 @@ Get the Git commit hash for that nightly: ```sh rustup toolchain install nightly-2025-11-08 -rustup default nightly-2025-11-08 -rustc -Vv +rustc +nightly-2025-11-08 --version --verbose ``` The output will include a `commit-hash` line identifying the exact source revision. Check out `rust-lang/rust` at that commit, then follow the steps in [compiler documentation](../building/compiler-documenting.md).