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

Build fails on latest nightly #103

Closed
fhartwig opened this issue Apr 18, 2015 · 4 comments
Closed

Build fails on latest nightly #103

fhartwig opened this issue Apr 18, 2015 · 4 comments

Comments

@fhartwig
Copy link
Contributor

rust-lang/rust#24461 seems to have broken the build on nightly. The impls generated by thesockopt_impl macro violate this. I'm trying to find a good way to fix this, but my macro-fu is pretty weak.

@posborne
Copy link
Member

With the 2014-04-19 nightlies, I am also running into issues resulting from ::std::os::unix::io::Fd changing to ::std::os::unix::io::RawFd. This change was introduced by rust-lang/rust@6370f29.

Here's the first error I hit with the fixes from @fhartwig:

src/sys/socket/sockopt.rs:7:5: 7:26 error: unresolved import `std::os::unix::io::Fd`. There is no `Fd` in `std::os::unix::io`
src/sys/socket/sockopt.rs:7 use std::os::unix::io::Fd;
                                ^~~~~~~~~~~~~~~~~~~~~

@fhartwig
Copy link
Contributor Author

@posborne Are you sure you're on the right branch? The commit you refer to was merged into rust master almost 3 weeks ago, and the fallout should have been fixed in 7d48278

@carllerche
Copy link
Contributor

Fixed on master

@posborne
Copy link
Member

@fhartwig, Bah... Yep. Wrong branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants