Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5ca0946

Browse files
committedJul 20, 2023
Document --print KIND=PATH in Command-line Arguments documentation
1 parent 7ee059b commit 5ca0946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ The valid types of print values are:
260260
This returns rustc's minimum supported deployment target if no `*_DEPLOYMENT_TARGET` variable
261261
is present in the environment, or otherwise returns the variable's parsed value.
262262

263+
A filepath may optionally be specified for each requested information kind, in
264+
the format `--print KIND=PATH`, just like for `--emit`. When a path is
265+
specified, information will be written there instead of to stdout.
266+
263267
[conditional compilation]: ../reference/conditional-compilation.html
264268
[deployment target]: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html
265269

0 commit comments

Comments
 (0)
Please sign in to comment.