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

Can't build on windows #5

Open
lunemec opened this issue Aug 4, 2016 · 0 comments
Open

Can't build on windows #5

lunemec opened this issue Aug 4, 2016 · 0 comments

Comments

@lunemec
Copy link

lunemec commented Aug 4, 2016

Herd does not work on windows machines, here is the traceback:

src\main.rs:102:20: 102:37 error: failed to resolve. Could not find `unistd` in `nix` [E0433]
src\main.rs:102         let _pid = nix::unistd::fork();
                                   ^~~~~~~~~~~~~~~~~
src\main.rs:102:20: 102:37 help: run `rustc --explain E0433` to see a detailed explanation
src\main.rs:102:20: 102:37 error: unresolved name `nix::unistd::fork` [E0425]
src\main.rs:102         let _pid = nix::unistd::fork();
                                   ^~~~~~~~~~~~~~~~~
src\main.rs:102:20: 102:37 help: run `rustc --explain E0425` to see a detailed explanation
error: aborting due to 2 previous errors
Could not compile `herd`.

There would need to be a target for windows machines, either informing that it is not possible, or where another package would be used instead of nix. Probably: https://github.com/retep998/winapi-rs

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

1 participant