Skip to content

Draft: Symmetric ABI tracking and minor side functionality #1098

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

Draft
wants to merge 792 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
792 commits
Select commit Hold shift + click to select a range
b6ccc9a
memory leak is fixed
cpetig Jan 5, 2025
fe42b8d
revise atomic and shorten path
cpetig Jan 5, 2025
c8779b5
fix warning
cpetig Jan 5, 2025
2034281
document and simplify the async calling convention
cpetig Jan 7, 2025
a281ce3
apply async calling simplification to stream example
cpetig Jan 7, 2025
e4eccb0
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindgen
cpetig Jan 8, 2025
c717537
post merge fixes
cpetig Jan 8, 2025
2bc07ef
update wasm-tools
cpetig Jan 8, 2025
5aa3659
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindgen
cpetig Jan 9, 2025
c4b35cd
update wasm-tools
cpetig Jan 9, 2025
09bd794
simplify code by leveraging Joels latest changes
cpetig Jan 9, 2025
6b04c5c
Merge remote-tracking branch 'origin'
cpetig Jan 11, 2025
abd6833
adapt to new version, simplify
cpetig Jan 11, 2025
06af93e
start moving stream impl into shared object
cpetig Jan 11, 2025
823cb01
simplify the dependencies
cpetig Jan 11, 2025
703c5f4
Buffer implementation
cpetig Jan 11, 2025
1af9f22
needs more thought
cpetig Jan 11, 2025
a49a152
work in progress to use a WIT interface
cpetig Jan 12, 2025
85c45b0
linking needs some more tricks
cpetig Jan 12, 2025
123cf64
needs more implementation but links
cpetig Jan 12, 2025
e2a1afc
simplify interface
cpetig Jan 12, 2025
0de6876
fix crash
cpetig Jan 12, 2025
a850d15
besides tear down everything works
cpetig Jan 12, 2025
1ef3ddb
better eof handling, but not yet good
cpetig Jan 12, 2025
f19d9d2
proper EOF implementation
cpetig Jan 12, 2025
c9f748a
clean up
cpetig Jan 12, 2025
1f88139
start C++ nightmare experiment
cpetig Jan 12, 2025
392ba14
partially working C++ example
cpetig Jan 13, 2025
e0a2654
ignore
cpetig Jan 13, 2025
97d5c39
correct waiting time
cpetig Jan 13, 2025
6ee1647
oncelock implementation
cpetig Jan 14, 2025
f7e0376
Option works equally well
cpetig Jan 14, 2025
5ce3513
fully operational C++ async example
cpetig Jan 15, 2025
ee6df24
feat: add support for `stream` with no `<T>`
rvolosatovs Jan 17, 2025
1705cc2
test: return `future` in future return test WIT
rvolosatovs Jan 17, 2025
484cea3
build: update wasm-tools
rvolosatovs Jan 17, 2025
01a9ad0
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jan 21, 2025
adbde38
dependency update (needs more)
cpetig Jan 21, 2025
f1e6d81
Merge remote-tracking branch 'dicej/feat/stream-unit' into work-in-pr…
cpetig Jan 21, 2025
3398ecf
fix compilation after merge
cpetig Jan 21, 2025
5c290a1
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jan 22, 2025
fd745c0
initial future prototype
cpetig Jan 22, 2025
985ebf9
small correction
cpetig Jan 22, 2025
06d8438
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jan 31, 2025
a8555cb
update wasm-tools
cpetig Jan 31, 2025
38cb692
initial future impl, still Send trouble
cpetig Jan 31, 2025
0511f6a
this solves the Send problem
cpetig Feb 1, 2025
cb6ba7e
clean up stream example, initial future impl
cpetig Feb 1, 2025
da20a27
more implementation
cpetig Feb 1, 2025
50f9ad8
future impl
cpetig Feb 1, 2025
bf26bbc
future works fine
cpetig Feb 1, 2025
d7cddb7
fix the endless wait in the stream example
cpetig Feb 2, 2025
94ca086
fix compilation with wamr
cpetig Feb 5, 2025
c0f4728
Merge remote-tracking branch 'origin/main' into work-in-progress
cpetig Feb 10, 2025
4ff1fe3
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 9, 2025
e7e90c5
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 9, 2025
253ad8d
fix compilation after large merge
cpetig Mar 9, 2025
a833dc9
regenerate
cpetig Mar 9, 2025
8f12fd8
better alignment with latest codegen
cpetig Mar 9, 2025
97db7e3
a function returning a stream is likely not async
cpetig Mar 9, 2025
93b91e1
make create non-async
cpetig Mar 9, 2025
0a3d251
fix c++ name
cpetig Mar 9, 2025
b3bba17
introduce from_handle (closer to canonical code)
cpetig Mar 9, 2025
9704aa1
stream code generation for symmetric
cpetig Mar 9, 2025
c2edf55
fix compilation
cpetig Mar 9, 2025
00e8ed7
fully operational generator
cpetig Mar 9, 2025
5313d16
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 16, 2025
68ce1b7
fix return pointer usage
cpetig Mar 16, 2025
827a35d
remove merge artifacts to shrink the difference to main
cpetig Mar 16, 2025
6f48795
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 20, 2025
e0d009a
update
cpetig Mar 20, 2025
99caafa
spawn unchecked (for shorter futures)
cpetig Mar 20, 2025
75ec928
turn on tracing
cpetig Mar 20, 2025
8a126e2
prototype for stream tracing
cpetig Mar 21, 2025
58ea3e8
point out signal activation in trace
cpetig Mar 21, 2025
25dcf07
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Mar 30, 2025
4e7d6fb
link to newest wasm-tools
cpetig Mar 30, 2025
81a667d
post-merge cleanup
cpetig Mar 30, 2025
dd48a91
skeletal future support
cpetig Apr 9, 2025
68f85e0
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 10, 2025
a805d3c
update wasm-tools
cpetig Apr 10, 2025
5d17797
fix compilation after merge
cpetig Apr 10, 2025
e200698
add from handle method (similar to stream) needed for lifting
cpetig Apr 12, 2025
8b09645
cargo fmt
cpetig Apr 12, 2025
138bea4
reintroduce pointers in symmetric
cpetig Apr 12, 2025
d9ac71d
move common parts outside of async example
cpetig Apr 12, 2025
c82ff28
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 13, 2025
bcbc000
future support compiles (reading is work in progress)
cpetig Apr 13, 2025
e2e7ac4
potentially complete implementation
cpetig Apr 13, 2025
d369397
no longer blocking on write
cpetig Apr 13, 2025
47377f4
future+stream c++ generation, fix code
cpetig Apr 14, 2025
992a0dc
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 14, 2025
82f4fb5
move the variable
cpetig Apr 14, 2025
7116089
include future on demand
cpetig Apr 14, 2025
56397ce
stream example skeleton
cpetig Apr 14, 2025
f5ae2a6
ongoing work on stream support
cpetig Apr 15, 2025
b18f94d
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Apr 16, 2025
30ebfc3
stream write implementation
cpetig Apr 16, 2025
9688b23
generate deleted resource copy operators to simplify compiler errors
cpetig Apr 17, 2025
bd20db3
fix stream logic, output EOF message
cpetig Apr 17, 2025
e42ef68
fix eof handling and requeue reading
cpetig Apr 17, 2025
ac69149
Merge remote-tracking branch 'origin/main' into work-in-progress
cpetig Apr 17, 2025
fd7a07b
report the change_event descriptor
cpetig Apr 17, 2025
909dd22
update tools
cpetig Apr 17, 2025
a95a3aa
proper handling of MaybeUninit
cpetig Apr 22, 2025
26bd901
proper handling of stream copy/ctor
cpetig Apr 22, 2025
3ba8e4c
handle inconsistent waiting states
cpetig Apr 22, 2025
378e64d
store closed handling separately from data
cpetig Apr 22, 2025
ceb2551
future lifting option
cpetig Apr 24, 2025
6342519
implement the changed interface (in progress)
cpetig Apr 24, 2025
1b06421
keep pattern approach for the callback
cpetig May 1, 2025
07d710e
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 1, 2025
c5c98a7
avoid Alex latest changes to wasm-tools for now
cpetig May 2, 2025
c8e738b
close to working again
cpetig May 2, 2025
d976667
fix limbo state of executor
cpetig May 2, 2025
fe285f8
correct wrongly generated code
cpetig May 2, 2025
49ff78a
lift and lower support on futures
cpetig May 2, 2025
d6a91d8
more complete future lifting and lowering support
cpetig May 2, 2025
5cc17c3
new string test
cpetig May 2, 2025
947f236
example with stream lifting and lowering
cpetig May 3, 2025
5d5dcd1
empty skeleton
cpetig May 3, 2025
a082c1b
cargo fmt, finish include
cpetig May 3, 2025
334e937
stream string example
cpetig May 3, 2025
5b21e37
rustfmt
cpetig May 3, 2025
976376d
fully linking future test
cpetig May 3, 2025
46c3931
fully working string future test
cpetig May 3, 2025
4782f3c
use vtables like the original
cpetig May 3, 2025
df4220d
adapt to new layout
cpetig May 3, 2025
19fa632
rename to proper name
cpetig May 3, 2025
09721df
stream of strings
cpetig May 3, 2025
9defe39
fmt
cpetig May 3, 2025
681d333
a fully linking string stream example
cpetig May 3, 2025
72cdf1e
fully operational string stream example
cpetig May 3, 2025
ee27d1a
cargo fmt
cpetig May 3, 2025
a3cf264
fix rust stream example
cpetig May 3, 2025
c03dcbd
stream lifting and lowering, more elegant than Rust
cpetig May 3, 2025
ef54014
fix compilation of executor
cpetig May 5, 2025
2782719
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig May 7, 2025
425a75a
update bindings
cpetig May 7, 2025
402e474
fix warning
cpetig May 7, 2025
4138036
initial c++ skeleton
cpetig Apr 20, 2025
e55da99
reduce code (no host, no symmetric)
cpetig Apr 20, 2025
1547c53
c++ generator compiles
cpetig Apr 21, 2025
e6a3e44
skeletal c++ testing support
cpetig Apr 27, 2025
a807a30
proper include
cpetig Apr 27, 2025
013633c
post merge fixes
cpetig May 7, 2025
984e9a2
c++ numbers test works
cpetig May 8, 2025
c8a7e11
many-arguments c++ test works
cpetig May 8, 2025
e741941
more test changes
cpetig May 8, 2025
2ccd752
records test passes
cpetig May 10, 2025
a17ab72
records test passes for c++
cpetig May 10, 2025
0bb5a03
numbers ok with c++17
cpetig May 10, 2025
a4cae5d
many arguments cover both sides
cpetig May 10, 2025
1b8574e
strings test passes
cpetig May 10, 2025
7ff30cb
fix options test
cpetig May 10, 2025
66bb0c6
fix old string test
cpetig May 10, 2025
ca017da
list test (in progress)
cpetig May 10, 2025
e7ad032
fix list test
cpetig May 10, 2025
f077354
incomplete results test
cpetig May 10, 2025
3f8a7b6
better variant support
cpetig May 13, 2025
77afda0
small fix
cpetig May 13, 2025
c3621c5
use c++17 to compile
cpetig May 13, 2025
515c4ea
clarify EOF logic
cpetig May 13, 2025
1683340
handle no data when polling
cpetig May 13, 2025
4a2bd49
handle negative difference in debug display
cpetig May 13, 2025
33525ad
link to either symmetric or canonical runtime
cpetig May 13, 2025
148b9eb
remove unnecessary move
cpetig May 18, 2025
b3ed215
variant lowering
cpetig May 18, 2025
3f34046
correct record lifting
cpetig May 18, 2025
6bd2c34
fix variant lifting
cpetig May 18, 2025
4c6cd5c
results test passing (but incomplete)
cpetig May 18, 2025
502d35e
results test fully operational
cpetig May 18, 2025
7c2e9f2
Opt out of language C++17 for cpp extension
cpetig May 18, 2025
dca3cd8
variants work
cpetig May 18, 2025
fcd9cea
variants runner works
cpetig May 18, 2025
04637a6
clean up lists test
cpetig May 18, 2025
fe8c0de
I need a better strategy to copy the headers to the target
cpetig May 19, 2025
13c97af
not elegant but working solution
cpetig May 19, 2025
dbdfb71
working resources
cpetig May 23, 2025
3d0c1fe
more complex resource test
cpetig May 23, 2025
1ca600d
remove unused functions
cpetig May 23, 2025
f875e2b
generate template files in the output directory
cpetig May 23, 2025
ac4d022
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 2, 2025
cd6c8f9
simplifications and clippy fixes
cpetig Jun 2, 2025
bb600b8
this was never meant to be checked in
cpetig Jun 2, 2025
91ca5de
cargo fmt again
cpetig Jun 2, 2025
6926a23
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 4, 2025
d8238cc
Merge branch 'cpp-bindgen' of github.com:cpetig/wit-bindgen into work…
cpetig Jun 5, 2025
5f0ad9b
cargo fmt and fixes
cpetig Jun 5, 2025
47f422c
update and fixes
cpetig Jun 6, 2025
56ffc83
mostly working runtime tests again
cpetig Jun 7, 2025
6efb808
all standard tests pass again, symmetric test skeleton
cpetig Jun 7, 2025
449b47f
adapt to symmetric
cpetig Jun 8, 2025
9530b73
link_name, test links
cpetig Jun 9, 2025
846fb06
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 12, 2025
5b12dba
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 12, 2025
f76a8f3
more proper symmetric abi signature
cpetig Jun 12, 2025
4aa589e
fix many warnings and compilation of some tests
cpetig Jun 12, 2025
0ba43ab
simplify stream of strings example
cpetig Jun 14, 2025
be25681
minimize the differences between symmetric and canonical
cpetig Jun 14, 2025
00a0341
use the new symmetric rt compatibility crate
cpetig Jun 14, 2025
f660bbe
symmetric vtable support
cpetig Jun 14, 2025
2a4e676
fix lifting casts
cpetig Jun 14, 2025
5a59e64
upgrade wit-bindgen dependency
cpetig Jun 14, 2025
bb141c6
reduce differenced between symmetric and canonical
cpetig Jun 14, 2025
5c084b0
stream_simple compiles, no test though
cpetig Jun 14, 2025
cfe03bc
simple future compiles
cpetig Jun 14, 2025
1d581e7
future-string works
cpetig Jun 14, 2025
510b79e
re-use abi buffer and waitable
cpetig Jun 14, 2025
98b0b9c
shared abi buffer
cpetig Jun 14, 2025
8872b60
execute symmetric tests
cpetig Jun 16, 2025
af2588c
c++ symmetric linking but not running
cpetig Jun 16, 2025
db6a3e6
working pure c++ symmetric test
cpetig Jun 16, 2025
5411697
add bitflags (needed by flags)
cpetig Jun 17, 2025
ad02150
fix several symmetric tests
cpetig Jun 17, 2025
b84a3e9
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 17, 2025
c88a079
use fixed wasm-tools
cpetig Jun 17, 2025
26036d6
link name fixes
cpetig Jun 17, 2025
5585b08
c++ future test
cpetig Jun 18, 2025
9460735
regenerate rust binding
cpetig Jun 18, 2025
6adf63b
link name
cpetig Jun 18, 2025
9068a97
regenerated bindings
cpetig Jun 18, 2025
840faaf
linking c++ future test
cpetig Jun 19, 2025
ea7de9a
optionally output the commands (WIT_BINDGEN_TRACE), hide C++ symbol c…
cpetig Jun 19, 2025
688ed17
implement short cut at registration
cpetig Jun 19, 2025
029effd
simplify executor code
cpetig Jun 19, 2025
2d0edd3
cleanup + direct progress on subscription
cpetig Jun 19, 2025
7556398
small but important correction
cpetig Jun 19, 2025
0f7fc22
c++ future string works
cpetig Jun 19, 2025
95cd7d8
correct payload size
cpetig Jun 19, 2025
21a8f36
fix publishing logic
cpetig Jun 20, 2025
98b43e3
attempt to use waitable
cpetig Jun 21, 2025
1473d11
trying to thread the subscription through the executor call stack
cpetig Jun 21, 2025
5cbd175
fmt
cpetig Jun 21, 2025
1a80393
Merge branch 'main' of https://github.com/bytecodealliance/wit-bindge…
cpetig Jun 21, 2025
1f91c8d
Merge branch 'cpp-bindgen' into work-in-progress
cpetig Jun 21, 2025
676931b
turn on trace in the tests for now
cpetig Jun 21, 2025
3312272
abstract the low level interaction with the waker
cpetig Jun 21, 2025
49c4ff1
regenerate test
cpetig Jun 21, 2025
75b68fd
regenerate the other future example
cpetig Jun 21, 2025
72e43d8
waitable didn't fit well enough
cpetig Jun 22, 2025
a7d3b02
revert changes to waitable
cpetig Jun 22, 2025
8a7bad4
document ideas
cpetig Jun 22, 2025
439feef
clean the code, make it compile with the newest Rust guest library
cpetig Jun 22, 2025
8602561
make the read start
cpetig Jun 22, 2025
964a9e9
test doesn't end but the values are passed correctly
cpetig Jun 22, 2025
4a763cf
fully operational Rust string streams
cpetig Jun 22, 2025
b65b5de
still some confusion about how the templates are designed but everyth…
cpetig Jun 22, 2025
8aa07a7
cpp runner doesn't exit with rust test, but everything else works
cpetig Jun 22, 2025
80b467f
proper EOF handling in C++
cpetig Jun 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@
[submodule "tests/codegen/wasi-clocks"]
path = tests/codegen/wasi-clocks
url = https://github.com/WebAssembly/wasi-clocks
[submodule "crates/cpp/tests/wasm-micro-runtime"]
path = crates/cpp/tests/wasm-micro-runtime
url = https://github.com/bytecodealliance/wasm-micro-runtime.git
92 changes: 48 additions & 44 deletions Cargo.lock

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

21 changes: 13 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ repository = "https://github.com/bytecodealliance/wit-bindgen"
[workspace.dependencies]
anyhow = "1.0.72"
bitflags = "2.3.3"
heck = { version = "0.5" }
heck = { version = "0.5" }
pulldown-cmark = { version = "0.9", default-features = false }
serde = { version = "1.0.218", features = ["derive"] }
clap = { version = "4.3.19", features = ["derive"] }
Expand All @@ -31,13 +31,13 @@ prettyplease = "0.2.20"
syn = { version = "2.0.89", features = ["printing"] }
futures = "0.3.31"

wat = "1.234.0"
wasmparser = "0.234.0"
wasm-encoder = "0.234.0"
wasm-metadata = { version = "0.234.0", default-features = false }
wit-parser = "0.234.0"
wit-component = "0.234.0"
wasm-compose = "0.234.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.42.1' }
wit-bindgen-c = { path = 'crates/c', version = '0.42.1' }
Expand All @@ -49,6 +49,8 @@ wit-bindgen-moonbit = { path = 'crates/moonbit', version = '0.42.1' }
wit-bindgen = { path = 'crates/guest-rust', version = '0.42.1', default-features = false }
wit-bindgen-test = { path = 'crates/test', version = '0.42.1' }

wit-bindgen-bridge = { path = 'crates/bridge', version = '0.1.0' }

[[bin]]
name = "wit-bindgen"

Expand All @@ -65,6 +67,7 @@ wit-bindgen-csharp = { workspace = true, features = ['clap'], optional = true }
wit-bindgen-test = { workspace = true }
wit-component = { workspace = true }
wasm-encoder = { workspace = true }
wit-bindgen-bridge = { workspace = true, features = ['clap'], optional = true }
env_logger = "0.11.7"

[features]
Expand All @@ -75,9 +78,11 @@ default = [
'go',
'csharp',
'cpp',
'bridge',
'moonbit',
'async',
]
bridge = ['dep:wit-bindgen-bridge']
c = ['dep:wit-bindgen-c']
cpp = ['dep:wit-bindgen-cpp']
rust = ['dep:wit-bindgen-rust']
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ WIT types.

This relies on wasi-SDK for guest compilation.

A separate subcommand (cpp-host) will generate C++ host code for
WebAssembly micro runtime.

### Guest: MoonBit

MoonBit can be compiled to WebAssembly using [its toolchain](https://moonbitlang.com/download):
Expand Down Expand Up @@ -485,6 +488,8 @@ components:
generate Python source code to interact with the component using an embedding
of Wasmtime for its core WebAssembly support.

- C++-17+: see above chapter for WAMR host code generation.

- Ruby: the [`wasmtime-rb`](https://github.com/bytecodealliance/wasmtime-rb)
project has initial support for components since
[v27](https://github.com/bytecodealliance/wasmtime-rb/releases/tag/v27.0.0).
Expand Down
7 changes: 7 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,10 @@

* Imported handle types show up as `any` in TS, unsure how to plumb through
actual types to get that actually typed.

# Cpp

* Nested lists
* Host: Strings inside records
* Strings test: return-unicode should get out parameter

24 changes: 24 additions & 0 deletions crates/bridge/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "wit-bindgen-bridge"
authors = ["Christof Petig <[email protected]>"]
version = "0.1.0"
edition.workspace = true
repository = 'https://github.com/cpetig/wit-bindgen'
license = "Apache-2.0 WITH LLVM-exception"
description = """
Bridge binding (forwarding) generator for WIT and the component model, targeting w2c2 and wamr.
"""

[lib]
doctest = false
test = false

[dependencies]
wit-bindgen-core = { workspace = true }
wit-component = { workspace = true }
anyhow = { workspace = true }
heck = { workspace = true }
clap = { workspace = true, optional = true }

#[dev-dependencies]
#test-helpers = { path = '../test-helpers' }
Loading
Loading