sccache/docs
temportalflux 2546b18a96 Implement Response File support in MSVC
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
2023-03-10 00:26:17 +01:00
..
Architecture.md Document the sccache process 2022-12-01 08:15:36 +01:00
Azure.md docs: move azure into its own files 2022-12-11 21:11:59 +01:00
Caching.md Feature/847 allow caching multi arch builds (#1467) 2022-12-15 10:31:52 +01:00
Configuration.md Clarify docs about units of `SCCACHE_IDLE_TIMEOUT` 2023-03-06 15:38:22 +01:00
Distributed.md Support FreeBSD as sccache-dist server (#1184) 2022-12-15 14:11:15 +01:00
DistributedFreeBSD.md Support FreeBSD as sccache-dist server (#1184) 2022-12-15 14:11:15 +01:00
DistributedQuickstart.md Support FreeBSD as sccache-dist server (#1184) 2022-12-15 14:11:15 +01:00
GHA.md feat: Allow sccache keep running after hitting rate limit during check (#1557) 2023-01-12 21:41:38 +01:00
Gcs.md feat: Add SCCACHE_GCS_CREDENTIALS_URL feature back for gcs 2022-12-20 09:34:13 +01:00
Jenkins.md Fix typo in Jenkins.md 2018-04-23 18:47:29 -04:00
Local.md docs: move local into its own files 2022-12-11 21:11:59 +01:00
Memcached.md refactor: Migrate memcached to opendal based 2023-01-14 11:05:10 +01:00
Redis.md docs: move redis into its own files 2022-12-11 21:11:59 +01:00
Releasing.md Fix some typos 2022-12-11 21:11:59 +01:00
ResponseFiles.md Implement Response File support in MSVC 2023-03-10 00:26:17 +01:00
Rust.md Parse env-deps from dep-info (#1107) 2022-03-01 16:21:36 -05:00
S3.md Add documentation for Cloudflare R2 usage. (#1549) 2023-01-12 21:38:52 +01:00
Webdav.md feat: Add Webdav (a.k.a HTTP Cache) support (#1597) 2023-02-14 09:48:41 +01:00