-
Notifications
You must be signed in to change notification settings - Fork 36
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
Cannot compile to wasm32-wasi
#195
Comments
It appears cap-std's wasi port has fallen a bit behind. I'll work on that. |
This needs rust-lang/rust#90835. |
sunfishcode
added a commit
that referenced
this issue
Jan 4, 2022
This gets cap-primitives and cap-std to the point where they compile on WASI. There are a few TODOs, and some of this will need to be revisited as WASI evolves and adds `chmod` support, but this should suffice for now. Fixes #195.
sunfishcode
added a commit
that referenced
this issue
Jan 4, 2022
This gets cap-primitives and cap-std to the point where they compile on WASI. There are a few TODOs, and some of this will need to be revisited as WASI evolves and adds `chmod` support, but this should suffice for now. Fixes #195.
sunfishcode
added a commit
that referenced
this issue
Jan 4, 2022
This gets cap-primitives and cap-std to the point where they compile on WASI. There are a few TODOs, and some of this will need to be revisited as WASI evolves and adds `chmod` support, but this should suffice for now. Fixes #195.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to make a crate for getting
cap_std::fs::Dir
s from wasi's preopened dirs, but hit a bit of a roadblockIt seems even when compiling to wasi,
cap-primitives
still tries to accessstd::os::unix
(on nightly)
The text was updated successfully, but these errors were encountered: