-
Notifications
You must be signed in to change notification settings - Fork 36
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
Fix WASM build and add a job in CI #195
base: master
Are you sure you want to change the base?
Conversation
Note downstream you can use this without the dev-dep obviously, this is just needed to enforce wasm check in CI so that we are not breaking it in the future |
.github/workflows/rust.yml
Outdated
- name: Checkout Toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- run: rustup target add wasm32-unknown-unknown | ||
- run: cargo check --target wasm32-unknown-unknown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In d6c5892:
trailing whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RCasatta ping -- if you fix the whitespace I can ack and merge this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
LGTM, but would this check have actually caught the getrandom thing? My understanding is that if you compile without the Regardless, this CI job is an improvement over having nothing. |
It seems it's a compile time check and without the getrandom thing the job would fail https://github.com/RCasatta/rust-elements/actions/runs/10578325188/job/29308193852?pr=2 |
d6c5892
to
7c6933d
Compare
close #194