Cleaner platform abstraction (wasm vs wasi)
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 218
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 8
Description
Right now we're using some std stuff related to paths that's not supported by WASM, along with some messy shims which are fine for testing but not so nice otherwise.
Questions:
- Should the `driver` crate target WASM or just WASI (which is std compatible)?
- If WASM:
- how can we avoid messy shims?
- what replaces `std::Path` on the web environment?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting the driver crate, its std-based path usage, and the existing testing shims. Determine whether the crate should target WASM or WASI, then investigate a suitable web-environment replacement for std::Path. Done means the platform abstraction and shim strategy are clearly defined and no longer rely on unsupported WASM path functionality.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100