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

Glob resolution error in nanomsg-sys 0.6.0 in rust 1.13 beta #38389

Closed
brson opened this Issue Dec 15, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@brson
Copy link
Contributor

brson commented Dec 15, 2016

Original report.


   Compiling libc v0.2.18

   Compiling nanomsg-sys v0.6.0 (file:///home/crate)

error[E0252]: a value named `ENOTSUP` has already been imported in this module

 --> src/lib.rs:7:9

  |

5 | pub use libc::*;

  |         -------- previous import of `ENOTSUP` here

6 | 

7 | pub use posix_consts::*;

  |         ^^^^^^^^^^^^^^^^ already imported


error[E0255]: a value named `ENOTSUP` has already been imported in this module

  --> src/lib.rs:85:5

   |

72 |     use libc::*;

   |         -------- previous import of `ENOTSUP` here

...

85 |     pub const ENOTSUP: c_int = NN_HAUSNUMERO + 1;

   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `ENOTSUP` was already imported


error: aborting due to 2 previous errors
@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented Dec 15, 2016

@jseyfried is this fixed by #38271 ?

@jseyfried

This comment has been minimized.

Copy link
Contributor

jseyfried commented Dec 16, 2016

This is a spurious regression -- it appears nanomsg-sys changed between the two runs. I manually verified that all nanomsg-sys commits that compile on stable-2016-11-08 also compile on beta-2016-12-10.

@jseyfried jseyfried closed this Dec 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.