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

Lint job does not build tests for the Wasm platform (and should) #10

Open
huitseeker opened this issue Jan 5, 2024 · 0 comments
Open

Comments

@huitseeker
Copy link
Member

huitseeker commented Jan 5, 2024

- run: rustup target add wasm32-unknown-unknown
- name: Wasm build
run: cargo build --target wasm32-unknown-unknown

This should build tests (and ideally examples / benches as well) to ensure full compatibility.

If we want to run tests on wasm, we'd have to install a wasm runtime (and indicate it in the .cargo/config of the runner:

[target.wasm32-unknown-unknown]
runner = 'my-favorite-runner'

but let's at least check the tests compile

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

No branches or pull requests

1 participant