Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

sccache causes rls builds to fail with "multiple input filenames provided" #703

Open
@jrobsonchase

Description

@jrobsonchase

Setting RUSTC_WRAPPER=$HOME/.local/bin/sccache seems to cause rls to fail to compile with multiple input filenames provided. Tested with sccache 2.5 and rls-preview 0.125.0-nightly (dee42bd 2018-02-04).

vscode rust settings:

    "rust-client.channel": "nightly",
    "rust-client.logToFile": true,
    "rust-client.revealOutputChannelOn": "info",

Log with RUSTC_WRAPPER set and RUST_LOG=rls=debug:

DEBUG 2018-02-07T16:35:50Z: rls::server: Language Server starting up. Version: 0.125.0-nightly (dee42bd 2018-02-04)
{"message":"multiple input filenames provided","code":null,"level":"error","spans":[],"children":[],"rendered":"error: multiple input filenames provided\n\n"}
 INFO 2018-02-07T16:35:50Z: rls::build::cargo: cargo failed
cause: Could not compile `rls-testing`.
stdout: 
DEBUG 2018-02-07T16:35:51Z: rls::server: Method not found: textDocument/didClose

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions