You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/src/guide/build-performance.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,16 +71,9 @@ Trade-offs:
71
71
72
72
### Enable the experimental parallel frontend
73
73
74
-
Recommendation: Add `-Zthreads=n` to the `RUSTFLAGS` environment variable, for example:
75
-
76
-
```console
77
-
$ RUSTFLAGS="-Zthreads=8" cargo +nightly build
78
-
```
79
-
80
-
You can configure `RUSTFLAGS` using [Cargo config](../reference/config.md#buildrustflags), so that you do not have to pass the flag on every cargo invocation manually:
74
+
Recommendation: Add `-Zthreads=n` to the `RUSTFLAGS` environment variable, for example by adding the following to `.cargo/config.toml`:
0 commit comments