We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9f95722 + 35acfcc commit 7fff5b9Copy full SHA for 7fff5b9
src/building/optimized-build.md
@@ -109,11 +109,16 @@ like Python or LLVM.
109
110
Here is an example of how can `opt-dist` be used locally (outside of CI):
111
112
-1. Build the tool with the following command:
+1. Enable metrics in your `bootstrap.toml` file, because `opt-dist` expects it to be enabled:
113
+ ```toml
114
+ [build]
115
+ metrics = true
116
+ ```
117
+2. Build the tool with the following command:
118
```bash
119
./x build tools/opt-dist
120
```
-2. Run the tool with the `local` mode and provide necessary parameters:
121
+3. Run the tool with the `local` mode and provide necessary parameters:
122
123
./build/host/stage0-tools-bin/opt-dist local \
124
--target-triple <target> \ # select target, e.g. "x86_64-unknown-linux-gnu"
0 commit comments