$ cargo wasi test --color=always -- --color=always
info: downloading component 'rust-std' for 'wasm32-wasi'
info: installing component 'rust-std' for 'wasm32-wasi'
Updating crates.io index
Compiling filepath v0.1.2 (/filepath-master)
error[E0046]: not all trait items implemented, missing: `path`
--> src/lib.rs:67:1
|
64 | fn path(&self) -> io::Result<PathBuf>;
| -------------------------------------- `path` from trait
...
67 | impl FilePath for File {
| ^^^^^^^^^^^^^^^^^^^^^^ missing `path` in implementation
For more information about this error, try `rustc --explain E0046`.
error: could not compile `filepath` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `filepath` (lib test) due to 1 previous error
filepathfails to build using wasmtime. This means rust targetwasm32-wasicannot be built.Reproduction
wasmtime-v18.0.3-x86_64-linux.tar.xzusing
filepathat commit a0138f0