Skip to content

Remove cap-std#35

Merged
Destructor17 merged 5 commits into
mainfrom
remove-cap-std
May 15, 2026
Merged

Remove cap-std#35
Destructor17 merged 5 commits into
mainfrom
remove-cap-std

Conversation

@Destructor17
Copy link
Copy Markdown
Contributor

@Destructor17 Destructor17 commented May 15, 2026

Resolves #18

A simple filesystem built on top of Rust's std. Symlinks and hard links are not supported, as well as inodes (always zero), device id, advice, sockets, pipes and probably some other features, still enough to run many programs. This implementation includes some path traversal mitigations. This PR removes dependency on cap-std. File descriptors/handles are not used for poll anymore, they are replaced with futures (using WasiFile::readable and WasiFile::writable like wasi-common::tokio did). It all should make easier to maintain webrogue-wasi-common and port it to wasm32-unknown-unknown in future.

@Destructor17 Destructor17 added this pull request to the merge queue May 15, 2026
Merged via the queue into main with commit abccda4 May 15, 2026
12 checks passed
@Destructor17 Destructor17 deleted the remove-cap-std branch May 15, 2026 19:08
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

Successfully merging this pull request may close these issues.

WASIp1: Custom FS and scheduler implementation

1 participant