Skip to content

rustc --dep-info has started using absolute paths in the output #12174

Closed
@lilyball

Description

@lilyball

When using rustc --dep-info lib.d lib.rs the resulting lib.d file has started including absolute paths for the resulting library, instead of the expected relative paths.

Previously:

> rustc --dep-info lib.d lib.s
> cat lib.d
libirc-943b2bb5-0.1.rlib: lib.rs conn.rs handlers.rs

Now:

> rustc --dep-info lib.d lib.rs
> cat lib.d
/Users/kevin/Dev/rust/rust-irclib/libirc-943b2bb5-0.1.rlib: lib.rs conn.rs handlers.rs

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