Commit 47037af
authored
Fix some test-related issues (#419)
* Add empty `imports.wit` for `exports_only` test
Otherwise the build process thinks this is always missing so tests are
always slowly rebuilt.
* Fix compiling the `runtime` test for JS in isolation
This requires the `clap` feature to be enabled now which works with
`cargo test --workspace` but isn't working with individual crate
testing.
* Don't test wasm size in exports_only test
Different versions of `wasi-libc` will produce differently sized
binaries, so only test the generated JS which this repo controls.1 parent b0a34f0 commit 47037af
3 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
Whitespace-only changes.
0 commit comments