Skip to content

Commit e146192

Browse files
author
Tor Hovland
committed
Documentation.
1 parent abf9653 commit e146192

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/doc/rustc/src/command-line-arguments.md

+9
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@ This flag controls the output filename.
194194
The outputted crate will be written to this directory. This flag is ignored if
195195
the [`-o` flag](#option-o-output) is used.
196196

197+
<a id="option-temps-dir"></a>
198+
## `--temps-dir`: directory to write the intermediate files in
199+
200+
Intermediate files will be written to this directory. If not set, the output
201+
directory is used. This option is useful if you are running more than one
202+
instance of `rustc` (e.g. with different `--crate-type` settings), and you
203+
need to make sure they are not overwriting each other's intermediate files.
204+
No files are kept unless `-C save-temps=yes` is also set.
205+
197206
<a id="option-explain"></a>
198207
## `--explain`: provide a detailed explanation of an error message
199208

0 commit comments

Comments
 (0)