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 failure #9

Closed
dead10ck opened this issue Jan 7, 2015 · 2 comments
Closed

Build failure #9

dead10ck opened this issue Jan 7, 2015 · 2 comments

Comments

@dead10ck
Copy link
Contributor

dead10ck commented Jan 7, 2015

Using rustc 1.0.0-nightly (ea6f65c5f 2015-01-06 19:47:08 +0000), it fails to build:

skyler at skyler-0345 in ~/src/rust/inotify-rs (master)
$ cargo build
   Compiling inotify v0.1.1 (file:///Users/skyler/src/rust/inotify-rs)
/Users/skyler/src/rust/inotify-rs/src/wrapper.rs:20:2: 20:9 error: unresolved import `std::c_str::CString`. Could not find `c_str` in `std`
/Users/skyler/src/rust/inotify-rs/src/wrapper.rs:20     CString,
                                                        ^~~~~~~
/Users/skyler/src/rust/inotify-rs/src/wrapper.rs:21:2: 21:8 error: unresolved import `std::c_str::ToCStr`. Could not find `c_str` in `std`
/Users/skyler/src/rust/inotify-rs/src/wrapper.rs:21     ToCStr,
                                                        ^~~~~~
error: aborting due to 2 previous errors
Could not compile `inotify`.

To learn more, run the command again with --verbose.
@dead10ck dead10ck changed the title Build faillure Build failure Jan 7, 2015
@hannobraun
Copy link
Owner

Looks like the failure was caused by this change: rust-lang/rust#20507

Thanks for reporting! I'll fix it on Monday. In the meantime, pull requests are very welcome.

@dead10ck
Copy link
Contributor Author

dead10ck commented Jan 9, 2015

@hannobraun I took a shot at it. Let me know what you think :)

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

No branches or pull requests

2 participants