kornelski / lodepng-rust

All-in-one PNG image encoder/decoder in pure Rust
https://lib.rs/lodepng
zlib License
100 stars 23 forks source link

Fix wasm32 compatibility #64

Closed frederikrothenberger closed 2 months ago

frederikrothenberger commented 2 months ago

Commit fc23e9dcb02648368e7994416a6732bc92e16fd2 broke wasm32-unknown-unknown compatibility. This PR fixes it again.

frederikrothenberger commented 2 months ago

Hi @kornelski

Unfortunately, this library no longer compiles for wasm32-unknown-unknown. The fix seems easy enough so I'd like to contribute that.

frederikrothenberger commented 2 months ago

@kornelski: Oh wow, that was quick! 😄

Would you also publish a new release with that fix? Thanks a lot!