diff options
| author | Urgau <urgau@numericable.fr> | 2023-07-28 20:44:25 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2023-09-07 15:07:30 +0200 |
| commit | caf6ce5ea28e7bf3ab0eeac21bfce5e3013e3347 (patch) | |
| tree | fa88d257be386686b2ab2762a66d85f3e07d2ce3 /src/doc/rustc | |
| parent | bf1e3f31f95c0f75b9bf51a58e8684f750f919f2 (diff) | |
| download | rust-caf6ce5ea28e7bf3ab0eeac21bfce5e3013e3347.tar.gz rust-caf6ce5ea28e7bf3ab0eeac21bfce5e3013e3347.zip | |
Stabilize `PATH` option for `--print KIND=PATH`
Description of the `PATH` option: > A filepath may optionally be specified for each requested information > kind, in the format `--print KIND=PATH`, just like for `--emit`. When > a path is specified, information will be written there instead of to > stdout.
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/command-line-arguments.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md index 2c7c05c0c4b..4d32897cc14 100644 --- a/src/doc/rustc/src/command-line-arguments.md +++ b/src/doc/rustc/src/command-line-arguments.md @@ -260,6 +260,10 @@ The valid types of print values are: This returns rustc's minimum supported deployment target if no `*_DEPLOYMENT_TARGET` variable is present in the environment, or otherwise returns the variable's parsed value. +A filepath may optionally be specified for each requested information kind, in +the format `--print KIND=PATH`, just like for `--emit`. When a path is +specified, information will be written there instead of to stdout. + [conditional compilation]: ../reference/conditional-compilation.html [deployment target]: https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html |
