Skip to content

Impossible (?) situation when publishing a crate using another crate which links a native library in a workspace #5594

@NoraCodes

Description

@NoraCodes

I'm unable to publish 0.3 of iui because it depends on ui-sys which links the ui native library. However if I specify ui-sys = "0.1.3" in Cargo.toml for iui I get:

the package `ui-sys` links to the native library `ui`, but it conflicts with a previous package which links to `ui` as well:
package `ui-sys v0.1.3 (file:///home/leo/Projects/libui-rs/ui-sys)`

failed to select a version for `ui-sys` which could resolve this conflict

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-linksArea: `links` native library links setting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions