Skip to content

libstdbuf: output filename collision #7578

@drinkcat

Description

@drinkcat
$ cargo test --workspace
warning: output filename collision.
The lib target `libstdbuf` in package `uu_stdbuf_libstdbuf v0.0.30 (/home/drinkcat/dev/coreutils/coreutils/src/uu/stdbuf/src/libstdbuf)` has the same output filename as the lib target `libstdbuf` in package `uu_stdbuf_libstdbuf v0.0.30 (/home/drinkcat/dev/coreutils/coreutils/src/uu/stdbuf/src/libstdbuf)`.
Colliding filename is: /home/drinkcat/dev/coreutils/coreutils/target/debug/deps/liblibstdbuf.so
The targets should have unique names.
Consider changing their names to be unique or compiling them separately.
This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.

Sounds like we should rename our library target.

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