Skip to content

Commit 3c1c971

Browse files
committed
Reflow fuchsia chapter
1 parent 58ced37 commit 3c1c971

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/tests/fuchsia.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ See the [Testing with Docker](docker.md) chapter for more details on how to run
3636
and debug jobs with Docker.
3737

3838
Note 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
4040
complete.
4141

4242
### Modifying the Fuchsia checkout
@@ -65,11 +65,12 @@ to add this to your `$PATH` for some workflows.
6565

6666
There 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
```
101102
config("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

Comments
 (0)