rc-zip icon indicating copy to clipboard operation
rc-zip copied to clipboard

Support WebAssembly

Open dullbananas opened this issue 5 years ago • 0 comments

Error when compiling to wasm32-unknown-unknown:

   Compiling rc-zip v0.0.1
error[E0277]: the trait bound `std::fs::File: ReadAt` is not satisfied
  --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rc-zip-0.0.1/src/reader/read_zip.rs:64:36
   |
64 |         ReadAt::read_zip_with_size(self, size)
   |                                    ^^^^ the trait `ReadAt` is not implemented for `std::fs::File`
   |
   = note: required for the cast to the object type `dyn ReadAt`

dullbananas avatar May 09 '21 20:05 dullbananas