-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Dual versions of defmt
causes links
error when it should not
#625
Comments
Duplicate of #426, I believe |
Seems like it, that's unfortunate. |
Here is the root |
Are there any issues with specifying a range of versions for [dependencies.defmt]
version = ">=0.2,<0.4"
optional = true This seems to work in my experiments in |
Hi all,
I'm looking to add to all the crates I maintain so it support
defmt 0.2
and0.3
, but I get alinks
error even though the dependencies are optional.If you do the same for
cortex-m
which also uses thelinks
argument it does however work!Something is being done in
defmt
which breaks optional dependencies - not sure what.This does however block us from supporting both
0.2
and0.3
, which would allow us to do a non-breaking release of crates with0.3
support.Not working
Cargo.toml
(run in empty project):Working
Cargo.toml
(run in empty project):The text was updated successfully, but these errors were encountered: