Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm-pack #144

Open
1 task done
pzhasaki opened this issue Dec 1, 2023 · 3 comments
Open
1 task done

wasm-pack #144

pzhasaki opened this issue Dec 1, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@pzhasaki
Copy link

pzhasaki commented Dec 1, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Description

[dependencies] rimage = { version = "0.9", features = ["webp", "avif"] }
could rimage build in wasm?
there failed:
CC=emcc wasm-pack build --target web
image

Expected behavior

No response

Library Version

0.9.0

Steps To Reproduce

No response

Anything else?

No response

@pzhasaki pzhasaki added the bug Something isn't working label Dec 1, 2023
@SalOne22
Copy link
Owner

SalOne22 commented Dec 1, 2023

There is no official support for the wasm target at the moment. I am currently working on integrating the image crate, and I will do my best to implement support for all major targets, including wasm.

@pzhasaki
Copy link
Author

pzhasaki commented Dec 2, 2023

Looking forward to it !

@SalOne22
Copy link
Owner

The latest release has introduced support for the wasm32-unknown-emscripten and wasm32-wasi targets. However, support for the wasm32-unknown-unknown target is not available due to the inability of mozjpeg to compile without the C standard library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants