-
Notifications
You must be signed in to change notification settings - Fork 105
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
multiple rlib candidates for tokio_02
found
#297
Comments
The problem appears to be that the generated
Manually changing this to the folloiwng appears to fix the problem.
It looks like this is generated here, but it's not clear to me how to override these.
|
For this specific issue, it looks like there is a hacky workaround:
This results in deleting the tokio-0.3.3 dep which removes the alias, but then manually adds the dep back so that the build works. It would be nice to figure out why this erroneous alias was created in the first place though. |
At a quick glance. It seems like #282 might address this |
I also hit this issue with the |
Almost certainly fixed by #282, is there a Cargo.toml I can test with? |
I'm looking into converting a project to use bazel. It depends on
tokio 0.3
as well astokio 0.2
via thetokio_compat_02
library. When compilingtokio_compat_02
this error occurs:I've tried manually renaming the target in
BUILD.tokio-0.2.22.bazel
totokio_02
as well as all the crates that depend on it, but the same error occurs. I'm not sure where to go from here.The text was updated successfully, but these errors were encountered: