Skip to content

Commit bd1db93

Browse files
authored
docs: add missing argument to Rustup Cargo workaround (#14954)
### What does this PR try to resolve? Just added the missing argument to execute this command.
2 parents 72ffd28 + 43e1527 commit bd1db93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/contrib/src/process/working-on-cargo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ the directory for each compilation, this can cause different calls to `rustc`
7272
to use different versions. There are a few workarounds:
7373

7474
* Don't use rustup overrides.
75-
* Use `rustup run target/debug/cargo` to execute `cargo`.
75+
* Use `rustup run <toolchain> target/debug/cargo` to specify the toolchain(rustc) to use.
76+
For example, `rustup run nightly target/debug/cargo`.
7677
* Set the `RUSTC` environment variable to a specific `rustc` executable (not
7778
the rustup wrapper).
7879
* Create a [custom toolchain]. This is a bit of a hack, but you can create a

0 commit comments

Comments
 (0)