зеркало из https://github.com/mozilla/sccache.git
2546b18a96
Adds an iteration layer between the command-line argument iterator and the `ArgIter` used to compare arguments against the supported flags/options. This new layer determines if an option is a response-file directive (`@file`), and if it is, reads the options from the file before continuing to iterate over the command-line args. This requires an additional file-parsing iterating (`SplitArgs`) to split the file contents into arguments in a way which is consistent with the file format. The `encoding` crate is used to read utf-8 (default encoding in rust) & utf-16 (big and little endian) encodings. The latter is used by `MSBuild` when generating response files. Resources: - [MSDN](https://docs.microsoft.com/en-us/cpp/build/reference/at-specify-a-compiler-response-file) - [MSBuild](https://learn.microsoft.com/en-us/visualstudio/msbuild/msbuild-response-files?view=vs-2019) Contributes to #107 Based off of #192 Closes #1082 Closes #1183 |
||
---|---|---|
.. | ||
Architecture.md | ||
Azure.md | ||
Caching.md | ||
Configuration.md | ||
Distributed.md | ||
DistributedFreeBSD.md | ||
DistributedQuickstart.md | ||
GHA.md | ||
Gcs.md | ||
Jenkins.md | ||
Local.md | ||
Memcached.md | ||
Redis.md | ||
Releasing.md | ||
ResponseFiles.md | ||
Rust.md | ||
S3.md | ||
Webdav.md |