smoldot
smoldot copied to clipboard
Enforce no-std compatibility in CI
Close https://github.com/paritytech/smoldot/issues/106
This is not passing, but this PR can be used as a way to track progress.
twiggy diff report
Difference in .wasm size before and after this pull request.
Delta Bytes │ Item
─────────────┼──────────────────
+0 ┊ Σ [0 Total Rows]
Is it possible to compile smoldot for wasm32-unknown-unknown? Would be great to get that enforced in the CI too. I wanted to try and use it from a wgpu rendered bevy client on the browser but when I pull in the dep:
smoldot = { git= "https://github.com/paritytech/smoldot.git", default-features = false }
it grumbles about sql light which is odd as I told it no default features...
wasm32-unknown-unknown has a std, so this is off topic.
But yes, the smoldot and smoldot-light-base libraries compile for Wasm, that is checked by CI.