@@ -36,7 +36,7 @@ See the [Testing with Docker](docker.md) chapter for more details on how to run
3636and debug jobs with Docker.
3737
3838Note that a Fuchsia checkout is * large* – as of this writing, a checkout and
39- build takes 46G of space – and as you might imagine, it takes awhile to
39+ build takes 46G of space – and as you might imagine, it takes a while to
4040complete.
4141
4242### Modifying the Fuchsia checkout
@@ -65,11 +65,12 @@ to add this to your `$PATH` for some workflows.
6565
6666There are a few ` fx ` subcommands that are relevant, including:
6767
68- * ` fx set ` accepts build arguments, writes them to ` out/default/args.gn ` , and runs GN.
69- * ` fx build ` builds the Fuchsia project using Ninja. It will automatically pick
68+ - ` fx set ` accepts build arguments, writes them to ` out/default/args.gn ` , and
69+ runs GN.
70+ - ` fx build ` builds the Fuchsia project using Ninja. It will automatically pick
7071 up changes to build arguments and rerun GN. By default it builds everything,
7172 but it also accepts target paths to build specific targets (see below).
72- * ` fx clippy ` runs Clippy on specific Rust targets (or all of them). We use this
73+ - ` fx clippy ` runs Clippy on specific Rust targets (or all of them). We use this
7374 in the Rust CI build to avoid running codegen on most Rust targets. Underneath
7475 it invokes Ninja, just like ` fx build ` . The clippy results are saved in json
7576 files inside the build output directory before being printed.
@@ -94,8 +95,8 @@ and can also be used in `fx build`.
9495
9596#### Modifying compiler flags
9697
97- You can put custom compiler flags inside a GN ` config ` that is added to a target.
98- As a simple example:
98+ You can put custom compiler flags inside a GN ` config ` that is added to a
99+ target. As a simple example:
99100
100101```
101102config("everybody_loops") {
@@ -162,6 +163,6 @@ rustc book][platform-support].
162163[ `//build/config:compiler` ] : https://cs.opensource.google/fuchsia/fuchsia/+/main:build/config/BUILD.gn;l=121;drc=c26c473bef93b33117ae417893118907a026fec7
163164[ build system ] : https://fuchsia.dev/fuchsia-src/development/build/build_system
164165
165- [ ^ loc ] : As of June 2024, Fuchsia had about 2 million lines of first-party Rust code
166- and a roughly equal amount of third-party code, as counted by tokei (excluding
167- comments and blanks).
166+ [ ^ loc ] : As of June 2024, Fuchsia had about 2 million lines of first-party Rust
167+ code and a roughly equal amount of third-party code, as counted by tokei
168+ (excluding comments and blanks).
0 commit comments