File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,16 @@ python x.py --stage 1
22
22
Run the compiler on a source file, supplying two additional debugging flags with ` -Z ` :
23
23
24
24
```
25
- rustc -Z profile-queries -Z dump-dep-graph foo.rs
25
+ rustc -Z profile-queries -Z incremental=cache foo.rs
26
26
```
27
27
28
28
Regarding the two additional parameters:
29
29
30
30
- ` -Z profile-queries ` tells the compiler to run a separate thread
31
- that profiles the queries made by the main compiler thread(s).
32
- - ` -Z dump-dep-graph ` tells the compiler to "dump" various files that
33
- describe the compilation dependencies.
31
+ that profiles the queries made by the main compiler thread(s). -
32
+ ` -Z incremental=cache ` tells the compiler to "cache" various files
33
+ that describe the compilation dependencies, in the subdirectory
34
+ ` cache ` .
34
35
35
36
This command will generate the following files:
36
37
You can’t perform that action at this time.
0 commit comments