File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/doc/rustc-dev-guide/src/building Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -109,11 +109,16 @@ like Python or LLVM.
109109
110110Here is an example of how can ` opt-dist ` be used locally (outside of CI):
111111
112- 1 . Build the tool with the following command:
112+ 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:
113118 ``` bash
114119 ./x build tools/opt-dist
115120 ```
116- 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:
117122 ` ` ` bash
118123 ./build/host/stage0-tools-bin/opt-dist local \
119124 --target-triple < target> \ # select target, e.g. "x86_64-unknown-linux-gnu"
You can’t perform that action at this time.
0 commit comments