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

Got error when I tried to open non-exists file #77

Open
namse opened this issue Jun 1, 2024 · 1 comment
Open

Got error when I tried to open non-exists file #77

namse opened this issue Jun 1, 2024 · 1 comment

Comments

@namse
Copy link
Contributor

namse commented Jun 1, 2024

rust 1.78.0, target: wasm32-wasip1-threads
using std::fs::File::open, I tried open '/cache/system/font/Ko/NotoSansKR-Bold.woff2' which is not exists actually,
and I got error,

[WASI stderr] called `Result::unwrap()` on an `Err` value: Custom { kind: Uncategorized, error: "failed to find a pre-opened file descriptor through which \"/cache/__system__/font/Ko/NotoSansKR-Bold.woff2\" could be opened" }

maybe wasi-sdk problem...?

@namse
Copy link
Contributor Author

namse commented Jun 1, 2024

rust-lang/rust#125859

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