Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1177 commits
Select commit Hold shift + click to select a range
4ce4451
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 1, 2025
67c8217
update tools
cpetig Nov 1, 2025
ac65937
cargo fmt
cpetig Nov 2, 2025
4e4c406
WIP: Clean up race conditions
cpetig Nov 2, 2025
370c06b
separate executor and stream
cpetig Nov 2, 2025
bbca3dc
design document
cpetig Nov 2, 2025
7cdf85d
more symmetric stream implementation
cpetig Nov 2, 2025
de71be3
reworked stream implementation
cpetig Nov 2, 2025
9e80a51
symmetric stream trace fix
cpetig Nov 3, 2025
7b4aa74
update example dependencies
cpetig Nov 3, 2025
8458f25
fix async example
cpetig Nov 3, 2025
0102b95
regenerated
cpetig Nov 3, 2025
4f991a8
regenerate
cpetig Nov 3, 2025
7a1c2c1
expected is now required
cpetig Nov 3, 2025
8d2317a
correct reading from stream
cpetig Nov 3, 2025
9dbd1e6
report clone in trace
cpetig Nov 3, 2025
03a36be
some results are not default constructible
cpetig Nov 3, 2025
b5e0b9c
ret_area needs a reinterpret cast
cpetig Nov 3, 2025
15e5c48
compiling module
cpetig Nov 3, 2025
b949c45
fix wait in read
cpetig Nov 3, 2025
611c215
cleanup
cpetig Nov 3, 2025
ee6c77c
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 4, 2025
613a806
more cast corrections
cpetig Nov 4, 2025
e9a2e6f
fix most of the c++ code generation for stream-string
cpetig Nov 4, 2025
cb3cf1f
tests can now link in parallel
cpetig Nov 4, 2025
506baaa
fix for result<_, X> lifting
cpetig Nov 4, 2025
609af29
properly set empty result ok
cpetig Nov 4, 2025
54e17e8
prevent duplicate definitions
cpetig Nov 5, 2025
b178685
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 5, 2025
b80116a
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 7, 2025
a0e07d5
only wait if necessary (stream read)
cpetig Nov 7, 2025
a4f7b9e
properly loop
cpetig Nov 7, 2025
aeb1942
work around multiple wit.h in path
cpetig Nov 7, 2025
ccb7e75
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 10, 2025
5aede3c
tools update
cpetig Nov 10, 2025
245fe29
handle error on start_reading
cpetig Nov 11, 2025
b7588a0
print thread id in trace
cpetig Nov 11, 2025
56ff0ff
block on fixes, more trace output, thread ids
cpetig Nov 11, 2025
ec28945
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 11, 2025
658a346
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 19, 2025
609b585
update tools
cpetig Nov 19, 2025
06ee0b6
more trace support
cpetig Nov 20, 2025
eb2e2ba
tracing and some logic corrections
cpetig Nov 20, 2025
97928ff
more tracing information
cpetig Nov 20, 2025
5f08e77
add empty default (to add trace when necessary)
cpetig Nov 20, 2025
dea26e3
cargo fmt
cpetig Nov 20, 2025
bf7a65a
fix duplicate code
cpetig Nov 20, 2025
b16129b
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 24, 2025
66b8ea3
post merge fix
cpetig Nov 24, 2025
c2f5e41
progress executor in block_on
cpetig Nov 24, 2025
cd19cd7
ownership fixes
cpetig Nov 24, 2025
bf76be6
properly wait for write, clean up
cpetig Nov 24, 2025
23283f7
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Dec 7, 2025
bacd7b3
post merge cleanup
cpetig Dec 7, 2025
057660e
fix compilation
cpetig Dec 7, 2025
00f77d2
correct stream write size logic
cpetig Dec 7, 2025
123719c
fix memory leak in callback
cpetig Dec 7, 2025
2c35f28
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Dec 8, 2025
037e097
subscription needs reset to really wait for the next event
cpetig Dec 8, 2025
a6eda56
C++ stream error handling
cpetig Dec 8, 2025
6877dd7
clang-format
cpetig Dec 8, 2025
e108f2a
fix compilation error
cpetig Dec 8, 2025
dd4870c
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Dec 9, 2025
5148816
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Dec 16, 2025
6e9e30f
reduce difference to upstream
cpetig Dec 16, 2025
fd20685
Update wasm-tools dependencies
alexcrichton Jan 9, 2026
2ca746a
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jan 10, 2026
d6658cd
post-merge fixes
cpetig Jan 10, 2026
4a93cfd
hierarchy simplification
cpetig Jan 10, 2026
6f814c0
dependency update
cpetig Jan 10, 2026
9c8af0d
Merge remote-tracking branch 'alex/update-wasm-tools' into work-in-pr…
cpetig Jan 10, 2026
2bfd66e
more map fixes
cpetig Jan 10, 2026
d85c26f
remove duplicate code, apply upstream (?) fixes
cpetig Jan 10, 2026
626b9f5
more fixed size implementation
cpetig Apr 19, 2025
c0b360c
more fixed list implementation
cpetig Apr 19, 2025
9d70aab
test passes with modified wasmtime
cpetig Apr 20, 2025
13e209a
document and compare test
cpetig Apr 20, 2025
a6ca02a
returning a fixed size list works
cpetig Apr 20, 2025
074738b
re-enable normal parameters
cpetig Apr 20, 2025
257da4d
clean up and use wac fork
cpetig Apr 20, 2025
2dfd272
another testcase passing
cpetig Apr 20, 2025
32336ee
oh, two failing tests
cpetig Apr 20, 2025
4d00c9b
integrate changes from symmetric branch
cpetig Jul 20, 2025
e861bf7
adapt and simplify C++ example
cpetig Jul 20, 2025
4397278
modernize code
cpetig Dec 16, 2025
5b5b07f
linear code size for fixed size arrays (except when flattened)
cpetig Dec 16, 2025
e7ce6f0
fix element offset, missing code for c++, missing testing argument
cpetig Jan 10, 2026
84ccd76
Merge branch 'fixed_size_list' of github.com:cpetig/wit-bindgen into …
cpetig Jan 11, 2026
966e3cd
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Feb 1, 2026
c938521
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Feb 8, 2026
75604b8
refresh tools
cpetig Feb 9, 2026
0d65c17
Prepare for wasm-tools 0.245
cpetig Feb 1, 2026
0a40799
some problems solved, still wasm-tools version conflict
cpetig Feb 9, 2026
6f87aee
new wac version
cpetig Feb 9, 2026
9ccb42d
adapt to an even newer version of wasm-tools
cpetig Feb 9, 2026
87335a4
adapt to wasm-tools
cpetig Feb 9, 2026
8f12526
fix test runner
cpetig Feb 9, 2026
3f24ee3
fix two test cases
cpetig Feb 10, 2026
e26b055
fix wasm32 compilation
cpetig Feb 11, 2026
a0e8839
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Feb 11, 2026
d51461f
fix versions
cpetig Feb 11, 2026
f9862cc
adapt to new wasm tools
cpetig Feb 11, 2026
69cf948
remove outdated test
cpetig Feb 11, 2026
f50604a
Merge remote-tracking branch 'origin' into work-in-progress
cpetig Feb 12, 2026
75fb79f
fix broken merge
cpetig Feb 12, 2026
e8a0c3c
remove some c++ errors
cpetig Feb 12, 2026
d12ebc9
fix many of the c++ tests
cpetig Feb 13, 2026
985afac
all C++ tests pass in canonical mode
cpetig Feb 13, 2026
34b9bdb
adapt to new test runner
cpetig Feb 13, 2026
6c5fe56
fix building of symmetric tests
cpetig Feb 14, 2026
fa33b85
97 out of 111 Rust tests pass for symmetric
cpetig Feb 14, 2026
2d66cd2
should fail, all rust symmetric tests annotated
cpetig Feb 14, 2026
a20b016
cpp test failures annotated
cpetig Feb 14, 2026
e158554
mark more tests as failing
cpetig Feb 15, 2026
3cea7d0
fix async functions
cpetig Feb 15, 2026
1acddcd
more tests pass
cpetig Feb 15, 2026
d6f3787
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Feb 16, 2026
a19f738
clean up
cpetig Feb 17, 2026
1731d7b
small steps toward supporting async exports
cpetig Feb 17, 2026
8022e50
calling of async function in Rust works again
cpetig Feb 19, 2026
af203d2
make shell script executable
cpetig Feb 19, 2026
cc996be
fix async Rust example
cpetig Feb 20, 2026
7fc7140
mark async function symbols with "A"
cpetig Feb 21, 2026
421f9d8
test runner for async run functions
cpetig Feb 21, 2026
56d920b
fix async example
cpetig Feb 21, 2026
1a3af74
fix two-wit-packages test by updating wasm-tools
cpetig Feb 21, 2026
bbd5143
c tests work again
cpetig Feb 21, 2026
b55c10f
nascent C symmetric support
cpetig Feb 21, 2026
53c122c
C symmetric fixes
cpetig Feb 22, 2026
0bc5636
working symmetric C test
cpetig Feb 22, 2026
b44041a
fix c++ symmetric tests
cpetig Feb 22, 2026
f68ffcf
less elegant, but makes the test pass
cpetig Feb 23, 2026
54ea67a
fix compilation of "lists" with C
cpetig Feb 23, 2026
de4fbe5
mark C tests as failing
cpetig Feb 23, 2026
7ca1c74
hopefully detect working tests which are expected to fail
cpetig Feb 24, 2026
a7b1f6c
fine grained failure logic
cpetig Feb 24, 2026
65a0cdd
down to 13 async failures
cpetig Feb 24, 2026
d6007f9
all symmetric failures correctly annotated
cpetig Feb 24, 2026
7646128
finally fix the race condition
cpetig Feb 24, 2026
882e8e8
clean up the mess caused by the unpredictability
cpetig Feb 24, 2026
6e58746
proper pointer casts
cpetig Feb 24, 2026
7c55368
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Feb 25, 2026
65c9551
skip now compiles
cpetig Feb 25, 2026
cd566f4
fix the test in symmetric mode
cpetig Feb 28, 2026
bf0e423
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 2, 2026
77122cd
post merge fix
cpetig Mar 2, 2026
50bd2c6
testing allocations locally doesn't make much sense for symmetric
cpetig Mar 3, 2026
8067bf7
all but two tests pass for Rust
cpetig Mar 5, 2026
446352c
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 5, 2026
cc67466
lists test.cpp fixed
cpetig Mar 6, 2026
12673d9
fix list lifting in symmetric mode
cpetig Mar 6, 2026
ad7f73b
update wasm-tools (no visible change)
cpetig Mar 7, 2026
86ac535
separate cpp runtime into two modules
cpetig Mar 8, 2026
686ef95
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 18, 2026
9a01b61
register-unique
cpetig Mar 18, 2026
ff2a11c
regenerate c++ import
cpetig Mar 19, 2026
0ea38a3
register unique
cpetig Mar 19, 2026
41cac8d
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 30, 2026
cf9cded
update wasm-tools
cpetig Mar 31, 2026
aa0a850
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 16, 2026
1c279e8
post-merge fixes
cpetig Apr 16, 2026
27bb5a6
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 24, 2026
0ccc5e5
remove a misguided attempt at linking to libtest.so
cpetig Apr 25, 2026
945eaf7
rust tests pass in symmetric!
cpetig Apr 25, 2026
caeb417
rustfmt
cpetig Apr 25, 2026
3c79784
c tests pass
cpetig Apr 25, 2026
109d54b
impl Debug, one test still fails
cpetig Apr 25, 2026
71c51fc
incomplete futures stream
cpetig Apr 25, 2026
af9d24d
the fixed capacity is not pretty, but it works
cpetig Apr 25, 2026
1e0fe8a
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 4, 2026
887190e
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 5, 2026
10e6c91
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 25, 2026
9c4ccc9
Resource allocation override option
cpetig May 26, 2026
3c30634
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 30, 2026
e2c4380
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 7, 2026
39666db
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Sep 13, 2026
4d0fb3d
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Nov 7, 2026
4ddd6ce
cargo fmt
cpetig Nov 7, 2026
7096e3f
adapt after merge
cpetig Nov 11, 2026
357bfe4
regenerated files
cpetig Nov 11, 2026
0cf02c4
Merge commit 'd276c62bb6dff9efc2b1cb2024ab4b5d29a7d364' into work-in-…
cpetig Nov 20, 2026
db9d6ad
some errors fixed
cpetig Nov 20, 2026
d6f3de9
Merge remote-tracking branch 'origin/main' into work-in-progress
cpetig Nov 20, 2026
9873ccc
cpp: only compile coroutine/async support of wit.h when coroutines ar…
cpetig Nov 27, 2026
0e06b79
symmetric: identity resource-new/rep for exports, Resource/ResourceRe…
cpetig Nov 27, 2026
2093ffc
symmetric_executor: shared link-search helper for the runtime cdylibs
cpetig Nov 27, 2026
ff515b1
symmetric_executor: register_unique must not pile up identical regist…
cpetig Nov 27, 2026
c5aa0a3
repair the upstream merges: symbol_name module, Rust and C++ generato…
cpetig Nov 27, 2026
34f9c5a
remove WAMR host mode and short_cut/--direct from the C++ generator
cpetig Nov 27, 2026
b816844
move tests/autosar to the autosar branch
cpetig Nov 27, 2026
a5caf81
cpp: retire the hand-written symmetric tests covered by runtime tests
cpetig Nov 27, 2026
faaf756
test harness: find symmetric runtime cdylibs in deps/ and build/*/out…
cpetig Nov 27, 2026
245b405
test harness: symmetric builds produce plain shared objects, not comp…
cpetig Nov 27, 2026
4ef3ca2
test harness: rust symmetric runners find the generated libtest.so
cpetig Nov 27, 2026
d775c77
core: symmetric async import results and deferred task return
cpetig Nov 27, 2026
6fe04b5
c: symmetric ABI for resources, strings, lists, async functions, futu…
cpetig Nov 27, 2026
528a39c
symmetric_executor: C client with async support
cpetig Nov 27, 2026
b322698
test harness: build and link the C client for symmetric C components
cpetig Nov 27, 2026
3e128f1
add runtime test: async export awaiting an async import of another co…
cpetig Nov 27, 2026
18372b0
cpp: symmetric ABI runtime for coroutine based async functions
cpetig Nov 27, 2026
672fad1
cpp: generate async functions for the symmetric ABI
cpetig Nov 27, 2026
b40faf1
test: C++ async function tests run with the symmetric ABI
cpetig Nov 27, 2026
e20e69a
test harness: unique intermediate composition file per combination
cpetig Nov 27, 2026
e074681
test harness: link symmetric tests with any number of dependency comp…
cpetig Nov 27, 2026
46b345c
async-cross-component-await: C++ leaf, unique composition names per c…
cpetig Nov 27, 2026
b3c687c
cpp: symmetric async exports copy lifted strings
cpetig Nov 27, 2026
2be634e
test harness: rustfmt
cpetig Nov 27, 2026
aa5dd30
cpp: symmetric futures and streams use wit::FutureReader/StreamReader
cpetig Nov 27, 2026
2d317de
test harness: symmetric C++ futures and streams
cpetig Nov 27, 2026
462a582
c: symmetric async symbols carry the A suffix, sync-implemented async…
cpetig Nov 27, 2026
2459774
symmetric executor: block_on can be called from a callback
cpetig Nov 27, 2026
263c011
symmetric stream: closing the read side signals the writers
cpetig Nov 27, 2026
6aafbac
symmetric rust runtime: wakers re-poll the task
cpetig Nov 27, 2026
72a3c45
symmetric rust runtime: API of the canonical runtime
cpetig Nov 27, 2026
6971fc7
rust (symmetric): ownership of lowered values
cpetig Nov 27, 2026
673226e
test harness: symmetric Rust expected failures
cpetig Nov 27, 2026
f0cbda7
symmetric C client: writers follow the stream protocol of Rust and C++
cpetig Nov 27, 2026
3c48996
symmetric rust runtime: document the busy start_reading case
cpetig Nov 27, 2026
074753f
test harness: expected failures of symmetric component combinations
cpetig Nov 27, 2026
aa46a87
symmetric executor: wake the executor loop after a registration from …
cpetig Nov 28, 2026
d7a7a2d
cpp: wit.h compiles as C++17 (wit::span, wit::bit_cast)
cpetig Nov 28, 2026
953b474
cpp client: std::future helpers for async functions, void payloads, s…
cpetig Nov 28, 2026
1102d8c
cpp: --async-api future generates async functions without coroutines
cpetig Nov 28, 2026
25c2218
test harness: symmetric-only and std per-file settings, main runners
cpetig Nov 28, 2026
a9aaee1
tests: C++17 (std::future) variants of async tests
cpetig Nov 28, 2026
f728204
symmetric stream: rendezvous protocol (symmetric:runtime 0.4.0)
cpetig Nov 28, 2026
ba108e2
symmetric Rust client: both rendezvous orders, cancellation, backpres…
cpetig Nov 28, 2026
02d3435
C/C++ clients: regenerate for symmetric:runtime 0.4.0
cpetig Nov 28, 2026
cf07a87
symmetric stream: protocol tests
cpetig Nov 28, 2026
e6c6399
C client: two-way rendezvous for streams and futures (symmetric:runti…
cpetig Nov 28, 2026
935bf12
C++20 symmetric client: reader/writer rendezvous with offer-write
cpetig Nov 28, 2026
03b2ec8
C++17 symmetric client: immediate read-result, offer-write and write-…
cpetig Nov 28, 2026
600761d
tests: update symmetric expected failures for the rendezvous protocol
cpetig Nov 28, 2026
e871c59
symmetric stream: partial transfers follow the canonical ABI
cpetig Nov 28, 2026
a68cfef
symmetric Rust client: no re-offer after a partial transfer
cpetig Nov 28, 2026
944629e
C client: drop the pending-write bookkeeping
cpetig Nov 28, 2026
ac763dc
C++20 symmetric client: no re-offer of the remainder of a write
cpetig Nov 28, 2026
68f6c6c
C++17 symmetric client: single offer per write
cpetig Nov 28, 2026
7e86f6b
tests: symmetric expected failures after the canonical partial transfers
cpetig Nov 28, 2026
0228f90
tests: do not assert the timing of a helper thread in runner_cpp17.cpp
cpetig Nov 28, 2026
32e4515
cpp: document the C++17 async API (--async-api future) and its limita…
cpetig Nov 28, 2026
0371b6a
symmetric executor: task cancellation (symmetric:runtime 0.5.0)
cpetig Nov 28, 2026
38d10bd
symmetric Rust runtime: cancel async imports, cancellable exports
cpetig Nov 28, 2026
2d695b8
symmetric C and C++: cancellation of async imports and exports
cpetig Nov 28, 2026
9b5b2e0
tests: symmetric cancellation
cpetig Nov 28, 2026
af5e068
symmetric executor: unregistering callbacks (symmetric:runtime 0.6.0)
cpetig Nov 28, 2026
caeaa18
symmetric Rust runtime: drop the registrations of finished tasks
cpetig Nov 28, 2026
127f200
symmetric C and C++ runtimes: unregister instead of liveness checks
cpetig Nov 28, 2026
3bb0267
symmetric executor: document the design and the open problems
cpetig Nov 28, 2026
8f6ebd0
cpp, rust: restore upstream fixes undone by merges
cpetig Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 28 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 10 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ workspace = true

[workspace]
resolver = "2"
members = ["crates/importlib"]

[workspace.package]
edition = "2024"
Expand All @@ -47,13 +48,13 @@ syn = { version = "3.0.5", features = ["printing"] }
futures = "0.3.31"
macro-string = "0.3.0"

wat = "1.263.0"
wasmparser = "0.263.0"
wasm-encoder = "0.263.0"
wasm-metadata = { version = "0.263.0", default-features = false }
wit-parser = "0.263.0"
wit-component = "0.263.0"
wasm-compose = "0.263.0"
wat = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }
wasmparser = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }
wasm-encoder = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }
wasm-metadata = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric", default-features = false }
wit-parser = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }
wit-component = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }
wasm-compose = { git = "https://github.com/cpetig/wasm-tools", branch = "symmetric" }

wit-bindgen-core = { path = 'crates/core', version = '0.63.0' }
wit-bindgen-c = { path = 'crates/c', version = '0.63.0' }
Expand All @@ -65,6 +66,7 @@ wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.63.0' }
wit-bindgen-go = { path = 'crates/go', version = '0.63.0' }
wit-bindgen-d = { path = 'crates/d', version = '0.63.0' }
wit-bindgen-test = { path = 'crates/test', version = '0.63.0' }
wit-bindgen-importlib = { path = 'crates/importlib', version = '0.63.0' }

[workspace.lints.clippy]
# The default set of lints in Clippy is viewed as "too noisy" right now so
Expand Down Expand Up @@ -97,6 +99,7 @@ wit-bindgen-csharp = { workspace = true, features = ['clap'], optional = true }
wit-bindgen-go = { workspace = true, features = ['clap'], optional = true }
wit-bindgen-d = { workspace = true, features = ['clap'], optional = true }
wit-bindgen-test = { workspace = true }
wit-bindgen-importlib = { workspace = true, features = ['clap'] }
wit-component = { workspace = true }
wasm-encoder = { workspace = true }
env_logger = "0.11.7"
Expand Down
51 changes: 51 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Cpp

* Nested lists
* Strings test: return-unicode should get out parameter
* with argument (class, [header])

# Tests

- async: 8 PASS 11 FAIL
------ Failure: cancel-import --------
missing features
------ Failure: future-cancel-read --------
------ Failure: future-cancel-write --------
------ Failure: future-cancel-write-then-read --------
------ Failure: future-closes-with-error --------
------ Failure: pending-import --------
------ Failure: ping-pong --------
------ Failure: simple-import-params-results --------
------ Failure: simple-pending-import --------
------ Failure: simple-stream --------
------ Failure: simple-stream-payload --------

- normal: 22 PASS 30 FAIL
------ Failure: demo --------
two test impls
------ Failure: flavorful --------
memory allocation mismatch
------ Failure: lists --------
memory allocation mismatch
------ Failure: resource_floats --------
------ Failure: resource-import-and-export --------
------ Failure: resources --------
------ Failure: resource_with_lists --------
------ Failure: results --------
complex so layout
------ Failure: ownership --------
------ Failure: xcrate --------
------ Failure: alternative-bitflags --------
------ Failure: with-and-resources --------
------ Failure: with-option-generate --------
------ Failure: resource_into_inner --------
------ Failure: type_section_suffix --------
------ Failure: with --------
------ Failure: raw-strings --------
------ Failure: skip --------
------ Failure: run-ctors-once-workaround --------
------ Failure: other-dependencies --------
------ Failure: disable-custom-section-link-helpers --------
------ Failure: owned-resource-deref-mut --------
------ Failure: with-types --------
# ------ Failure: strings-simple --------
Loading
Loading