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

Try to supports WASI targets. #148

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

langyo
Copy link
Contributor

@langyo langyo commented Nov 20, 2023

I've been trying to use yew to render the page into the static HTML string on WASI. However, stylist cannot distinguish the browser WASM target (wasm32-unknown-unknown with wasm-bindgen) and WASI target (wasm32-wasi), and it would choose wrong modules for wasm32-*.

I have fixed it by using target_os, and it would fix the problem.

@langyo
Copy link
Contributor Author

langyo commented Mar 28, 2024

I see that your Github homepage has no contribution records for a long time... Do you have time to review this branch merge request?
@futursolo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant