Skip to content

assembly support broken #2556

@git-bruh

Description

@git-bruh

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions