Skip to content

Commit 163efc6

Browse files
jyn514tshepang
authored andcommitted
Don't give x.py clean as the first x.py example
This command shouldn't be used very often, and it has its own whole section below anyway.
1 parent 178e305 commit 163efc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/building/how-to-build-and-run.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ Here are a few other useful `x.py` commands. We'll cover some of them in detail
259259
in other sections:
260260

261261
- Building things:
262-
- `./x.py clean` – clean up the build directory (`rm -rf build` works too,
263-
but then you have to rebuild LLVM)
264262
- `./x.py build --stage 1` – builds everything using the stage 1 compiler,
265263
not just up to `libstd`
266264
- `./x.py build` – builds the stage2 compiler
@@ -283,3 +281,5 @@ everything up then you only need to run one command!
283281
```bash
284282
./x.py clean
285283
```
284+
285+
`rm -rf build` works too, but then you have to rebuild LLVM.

0 commit comments

Comments
 (0)