Skip to content

cargo fix doesn't work with RUSTC_WRAPPER=sccache #5981

Closed
@dwijnand

Description

@dwijnand

Before:

$ cargo +nightly new --lib foo && command cd foo && cargo +nightly fix --lib
     Created library `foo` project
    Checking foo v0.1.0 (file:///Users/dnw/Desktop/foo)
error: failed to execute compile
caused by: Bad relative path
error: Could not compile `foo`.

After:

$ unset RUSTC_WRAPPER; cargo +nightly new --lib foo && command cd foo && cargo +nightly fix --lib
     Created library `foo` project
    Checking foo v0.1.0 (file:///Users/dnw/Desktop/foo)
    Finished dev [unoptimized + debuginfo] target(s) in 0.82s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions