Skip to content

Commit e2cfa45

Browse files
committed
docs(dev-guide): mention the arg0 override trick on welcome page
1 parent add1325 commit e2cfa45

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/dev-guide/src/index.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@
88
6. Push to the branch: `git push origin my-new-feature`
99
7. Submit a pull request :D
1010

11-
For developing on `rustup` itself, you may want to install into a temporary
12-
directory, with a series of commands similar to this:
11+
For developing on `rustup` itself, the easiest way is to run the development
12+
build on your current installation. This approach is best used for minor fixes
13+
or improvements. See the documentation for [`RUSTUP_FORCE_ARG0`] for more info.
14+
15+
[`RUSTUP_FORCE_ARG0`]: tips-and-tricks.md#rustup_force_arg0
16+
17+
A more formal solution involves installing rustup into a temporary directory as
18+
your dedicated test environment.
19+
To do so, you can run a series of commands similar to this:
1320

1421
```bash
1522
cargo build

0 commit comments

Comments
 (0)