Merge pull request #2598 from rust-lang/tshepang-patch-2

how-to-build-and-run.md: replace "rm build" with "x clean --all"
This commit is contained in:
nora 2025-09-29 21:29:53 +02:00 committed by GitHub
commit 7e65b095c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ Alternatively, you can write `bootstrap.toml` by hand. See `bootstrap.example.to
settings and explanations of them. See `src/bootstrap/defaults` for common settings to change.
If you have already built `rustc` and you change settings related to LLVM, then you may have to
execute `rm -rf build` for subsequent configuration changes to take effect. Note that `./x
execute `./x clean --all` for subsequent configuration changes to take effect. Note that `./x
clean` will not cause a rebuild of LLVM.
## Common `x` commands