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

Fails to compile on Windows #6

Open
fenhl opened this issue Sep 9, 2021 · 0 comments
Open

Fails to compile on Windows #6

fenhl opened this issue Sep 9, 2021 · 0 comments

Comments

@fenhl
Copy link

fenhl commented Sep 9, 2021

The crate-level docs say this crate is cross-platform, but on Windows the compilation fails with this error:

    Checking futures v0.1.31
    Checking chase v0.1.8 (C:\Users\fenhl\git\github.com\fenhl\chase-rs\stage)
error: could not compile `chase`

To learn more, run the command again with --verbose.
error[E0425]: cannot find function `get_file_id` in this scope
  --> src\sync.rs:72:35
   |
72 |                     let file_id = get_file_id(&file)?;
   |                                   ^^^^^^^^^^^ not found in this scope

The reason is that get_file_id is only defined on #[cfg(unix)].

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