diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-01-09 17:52:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-09 17:52:21 +0100 |
| commit | 3da96aed94aa0f72a3632475ccc9510adbb8f8e0 (patch) | |
| tree | 51fdfbb043ed22a1af81085d1f95806971cf4370 /src/doc | |
| parent | 87b0de6cb7395017a4894d01781feed9f401de50 (diff) | |
| parent | 684aa2c9d11d9e818ea65f7e4ebd194b97318ac7 (diff) | |
| download | rust-3da96aed94aa0f72a3632475ccc9510adbb8f8e0.tar.gz rust-3da96aed94aa0f72a3632475ccc9510adbb8f8e0.zip | |
Rollup merge of #118680 - djkoloski:shell_argfiles, r=compiler-errors
Add support for shell argfiles Closes https://github.com/rust-lang/compiler-team/issues/684
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/shell-argfiles.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/shell-argfiles.md b/src/doc/unstable-book/src/compiler-flags/shell-argfiles.md new file mode 100644 index 00000000000..4f3c780972d --- /dev/null +++ b/src/doc/unstable-book/src/compiler-flags/shell-argfiles.md @@ -0,0 +1,11 @@ +# `shell-argfiles` + +-------------------- + +The `-Zshell-argfiles` compiler flag allows argfiles to be parsed using POSIX +"shell-style" quoting. When enabled, the compiler will use `shlex` to parse the +arguments from argfiles specified with `@shell:<path>`. + +Because this feature controls the parsing of input arguments, the +`-Zshell-argfiles` flag must be present before the argument specifying the +shell-style arguemnt file. |
