Skip to content

Commit 40ca9b1

Browse files
authored
Refactor futures/streams support for Rust (#1249)
* Refactor futures/streams support for Rust Mostly remove the old implementations for futures/streams and replace them with new versions which address a number of preexisting issues and additionally adapt to upcoming ABI changes. * Don't run new tests just yet * Go back to original `wac` deps * Disable patch overrides * Beef up some documentation in various places * Remove some dead code * Defer async tests to a future PR * Add some tests to `AbiBuffer<T>` * Try to fix CI * Add miri too * Add some built-in debugging support Require source edits for now though to enable it. * Document `CompletionStatus` * Review comments
1 parent c30dc9a commit 40ca9b1

File tree

15 files changed

+2286
-1350
lines changed

15 files changed

+2286
-1350
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ jobs:
133133
- run: cargo test -p wit-bindgen-core
134134
- run: cargo test -p wit-bindgen
135135
- run: cargo test --workspace --exclude 'wit-bindgen*'
136+
- run: cargo test -p wit-bindgen-rt --all-features
137+
- run: rustup update nightly --no-self-update
138+
- run: rustup component add miri --toolchain nightly
139+
- run: rustup component add rust-src --toolchain nightly
140+
- run: cargo +nightly miri test -p wit-bindgen-rt --all-features
136141

137142
check:
138143
name: Check

0 commit comments

Comments
 (0)