erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
900 stars 194 forks source link

redundant linker flag #196

Closed kpcyrd closed 5 years ago

kpcyrd commented 7 years ago
   Compiling serde_derive v1.0.1
warning: redundant linker flag specified for library `zmq`

   Compiling serde_derive v0.9.15
   Compiling zmq v0.8.2

I've spotted this a few time now and thought I'd let you know :)

rotty commented 7 years ago

Thanks -- I've noticed this as well, but haven't yet looked into it. However, the solution suggested by the SDL2 bindings (i.e. removing the supposedly superfluous #[link(..)] attribute) breaks the windows build, (see #197). Any suggestions welcome!

rotty commented 5 years ago

I can no longer reproduce this on the current master branch (commit c14d5b00), using rustc 1.35.0 (3c235d560 2019-05-20). I tried to reproduce with an older commit, but the problem was gone there as well. Maybe this has been fixed in the toolchain.