Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
NoraCodes opened this issue May 30, 2018 · 1 comment
Labels
A-links Area: `links` native library links setting

Comments

@NoraCodes
Copy link

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
@ehuss ehuss added the A-links Area: `links` native library links setting label Oct 12, 2019
@ehuss
Copy link
Contributor

ehuss commented Nov 10, 2021

I'm going to close as I believe this is now fixed (at least for this specific situation) in 1.37 via #7026. Cargo used to unconditionally rebuild the workspace Cargo.lock, but now it only builds a minimal Cargo.lock if necessary.

@ehuss ehuss closed this as completed Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-links Area: `links` native library links setting
Projects
None yet
Development

No branches or pull requests

2 participants