libzmq-rs icon indicating copy to clipboard operation
libzmq-rs copied to clipboard

Windows build fails

Open hbgl opened this issue 4 years ago • 2 comments

Describe the bug The library does not build under Windows.

error[E0432]: unresolved import windows --> %userprofile%.cargo\registry\src\github.com-1ecc6299db9ec823\libzmq-sys-0.1.7+4.3.2\src\errno.rs:6:5 | 6 | use windows::errno; | ^^^^^^^ use of undeclared type or module windows

To Reproduce Add dependency to libzmq to cargo.toml and run cargo build on a Windows machine.

Platform:

  • OS: Win 10
  • API Version 0.2.1

hbgl avatar Jan 18 '20 01:01 hbgl

I don't own a windows machine to test this on but checkout https://github.com/jean-airoldie/libzmq-rs/pull/128 and tell me if this compile.

jean-airoldie avatar Jan 18 '20 01:01 jean-airoldie

Thanks for your quick response. I'll be commenting in https://github.com/jean-airoldie/libzmq-rs/pull/128

hbgl avatar Jan 18 '20 02:01 hbgl