@@ -401,26 +401,19 @@ To learn more about a subcommand, run `./x.py <subcommand> -h`",
401
401
"\n
402
402
Arguments:
403
403
This subcommand accepts a number of paths to directories to the crates
404
- and/or artifacts to compile. For example:
405
-
406
- ./x.py build library/core
407
- ./x.py build library/core library/proc_macro
408
- ./x.py build library/std --stage 1
409
-
410
- If no arguments are passed then the complete artifacts for that stage are
411
- also compiled.
404
+ and/or artifacts to compile. For example, for a quick build of a usable
405
+ compiler:
412
406
413
- ./x.py build
414
- ./x.py build --stage 1
407
+ ./x.py build --stage 1 library/std
415
408
416
- For a quick build of a usable compiler, you can pass:
409
+ This will build a compiler and standard library from the local source code.
410
+ Once this is done, build/$ARCH/stage1 contains a usable compiler.
417
411
418
- ./x.py build --stage 1 library/test
412
+ If no arguments are passed then the default artifacts for that stage are
413
+ compiled. For example:
419
414
420
- This will first build everything once (like `--stage 0` without further
421
- arguments would), and then use the compiler built in stage 0 to build
422
- library/test and its dependencies.
423
- Once this is done, build/$ARCH/stage1 contains a usable compiler." ,
415
+ ./x.py build --stage 0
416
+ ./x.py build " ,
424
417
) ;
425
418
}
426
419
"check" | "c" => {
@@ -430,14 +423,9 @@ Arguments:
430
423
This subcommand accepts a number of paths to directories to the crates
431
424
and/or artifacts to compile. For example:
432
425
433
- ./x.py check library/core
434
- ./x.py check library/core library/proc_macro
426
+ ./x.py check library/std
435
427
436
- If no arguments are passed then the complete artifacts are compiled: std, test, and rustc. Note
437
- also that since we use `cargo check`, by default this will automatically enable incremental
438
- compilation, so there's no need to pass it separately, though it won't hurt. We also completely
439
- ignore the stage passed, as there's no way to compile in non-stage 0 without actually building
440
- the compiler." ,
428
+ If no arguments are passed then many artifacts are checked." ,
441
429
) ;
442
430
}
443
431
"clippy" => {
0 commit comments