The filename or extension is too long. (os error 206)
Author: AtomicOperationCreated May 22, 2025Updated Sep 19, 2026
When running builds with extremely long command lines in response files, we get sccache failures like
sccache: error: failed to spawn Command { std: ... }
sccache: caused by: The filename or extension is too long. (os error 206)It looks like sccache is expanding the contents of the response file, which defeats the main purpose of the response file existing. Is there a way around this?
Source: mozilla/sccache