about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorDavid Koloski <djkoloski@gmail.com>2023-12-06 18:25:13 +0000
committerDavid Koloski <djkoloski@gmail.com>2024-01-08 15:25:55 -0500
commit684aa2c9d11d9e818ea65f7e4ebd194b97318ac7 (patch)
tree1ba20cbbc39210a70af4f2bc8b14dd3dc34e44fe /src/doc
parent6bc08a725f888a06ea3c6844f3d0cc2d2ebc5142 (diff)
downloadrust-684aa2c9d11d9e818ea65f7e4ebd194b97318ac7.tar.gz
rust-684aa2c9d11d9e818ea65f7e4ebd194b97318ac7.zip
Add support for shell argfiles
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/shell-argfiles.md11
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.