-
Notifications
You must be signed in to change notification settings - Fork 39
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
error[E0583]: file not found for module sys #76
Comments
which OS are you compiling for? |
LInux @kadiwa4 |
Linux + Rust nightly is tested in CI. If you want to report an issue with that combination then you'll need to give more info. |
substrate node template project, cargo build then report this issue feat/hotstuff branch |
I can reproduce this on windows. |
Can reproduce it on macOS Sonoma |
Is there some update about this one? I can reproduce it on macOS Monterey(rustc 1.74.0-nightly) |
The code in question looks like this: #[cfg_attr(unix, path = "unix.rs")]
#[cfg_attr(windows, path = "windows.rs")]
#[cfg_attr(target_os = "wasi", path = "wasi.rs")]
#[cfg_attr(target_os = "hermit", path = "hermit.rs")]
mod sys; As far as I'm aware, Rust always considers macOS to be a |
Any suggested fix or workaround for this issue ? |
Could anyone who can reproduce this, please post:
|
I also ran into this issue, but I was trying to target |
@sunfishcode errno is currently always broken on wasm*-unknown-unknown targets, and I (and others) depend on it through multiple indirections, such as clap or miette. I hope this gets fixed soon. |
I'm running into this too .. |
Any resolution to this ? I am building my rust project and this library I believe is a dependency and my target |
Try to clean your project and re-build it |
Can you share your git repo |
For anyone else running into this: check if you are using |
error[E0583]: file not found for module sys
cargo 1.73.0-nightly (7e9de3f4e 2023-08-13)
rustc 1.73.0-nightly (rust-lang/rust@180dffb 2023-08-14)
The text was updated successfully, but these errors were encountered: