Michael Bryan
Michael Bryan
### Describe the bug As part of #3650, I noticed that when you mount a folder from one filesystem onto a folder in the `wasmer_vfs::mem_fs::FileSystem`, running `read_dir()` will give you...
### Describe the bug As part of #3677, I wanted to mount different folders from the host system to overlapping folders in the guest (e.g. `/tmp/first/` goes to `/mapped/` and...
### Motivation Many of our crates, especially `wasmer` and `wasmer-wasix`, have a large set of feature flags and optional dependencies. We try to document these in the crate root, but...
### Describe the bug It looks like we accidentally introduced a soundness bug in #3556 when adding `Send+Sync` bounds to things like `wasmer::js::Module` and `wasmer::js::Memory`. Here's one example: https://github.com/wasmerio/wasmer/blob/d53b9e26d3275483e6af9dfbddb69d57c825fc2b/lib/api/src/js/module.rs#L48-L57 The...
### Motivation The `wasmer` crate currently has `std` and `core` feature flags. The intent behind this is to allow `wasmer` to work in `#[no_std]` environments. To this effect, the `wasmer`...
### Describe the bug As of #4119, compiling `wasmer-wasix` with the `js` feature requires a nightly compiler in order to do multi-processing correctly. This is a tracking issue for removing...
### Motivation We would like to start publishing `*.webc` files to the Wasmer registry, rather than uploading a tarball of the package's directory and calling `wapm2pirita` asynchronously (which may or...
### Motivation The `virtual_fs::mem_fs::file::ReadOnlyFile` struct currently uses a `Cow &[u8] { match self { Repr::Bytes(b) => b, #[cfg(feature = "mmap")] Repr::Mapped { mmap, range } => &mmap[range.clone()], } } }...
### Describe the bug A common thing you'll want to do when using runners is to map the current directory on the host to the current directory on the guest...
This PR fixes #39 by introducing a `wasm` crate which exposes a simplified version of `similar`'s API to WebAssembly. The simplified API is defined in [`wasm/similar.wit`](https://github.com/wasmerio/similar/blob/123ac03c1e2c7a3640a677cd91406996795b3519/wasm/similar.wit) and can be used...