The assembly support added in #2545 seems to be broken, when executing distributed compilation, the -x argument generated for the compiler is invalid (file contents irrelevant):
$ sccache cc -c test.S
sccache: Job failed on server 192.168.1.3:10600:
cc: error: language assembler-with-cpp-cpp-output not recognized
cc: error: language assembler-with-cpp-cpp-output not recognized
sccache: Compiler killed by signal 1
Seems to be due to this condition:
|
_ => language.as_mut()?.push_str("-cpp-output"), |
cc @AJIOB
TIA for looking into this!
The assembly support added in #2545 seems to be broken, when executing distributed compilation, the
-xargument generated for the compiler is invalid (file contents irrelevant):Seems to be due to this condition:
sccache/src/compiler/gcc.rs
Line 915 in d9d2eb6
cc @AJIOB
TIA for looking into this!