11 Commits

Author SHA1 Message Date
Ryan Levick
7db951ba9f Consistently add generated preamble (#621)
* Consistently add generated preamble

* Fix tests
2023-07-17 15:40:18 -05:00
Alex Crichton
67e2d2228a Bump crate versions (#620)
Pull in recent updates and bug fixes, namely the wasm-tools updates and
new Rust generator features.
2023-07-14 20:14:54 -05:00
Peter Huene
a33d062f1e Update dependencies to latest. (#616)
This commit updates dependencies to latest.

It includes the latest wasm-tools, where support for resources has been stubbed
out with a `todo!`.

Hopefully that won't be too much of an annoyance for those actively developing
support for resources.

Additionally, `indexmap`, which is used extensively on many public APIs, has
been rev'd to a new major version; this resulted in no required source changes.
2023-07-13 13:01:48 -05:00
Alex Crichton
544576ea94 Bump crate versions (#596)
* Update to published Wasmtime 10

* Bump crates to 0.8.0

Will publish a release compatible with the latest Wasmtime 10
2023-06-22 18:28:30 -05:00
Joel Dice
081a4bb11c update teavm-java generator and re-enable tests (#584)
Signed-off-by: Joel Dice <joel.dice@fermyon.com>
2023-05-26 15:25:57 -05:00
Alex Crichton
a2935a4fa4 Update wit-bindgen for upcoming WIT changes (#580)
* Update Rust codegen for new WIT changes

* Update the markdown generation for new WIT

* more-rust

* Update the C generator for new WIT

* Get Rust guest tests compiling

* Get rust host tests working

* Get all C tests passing

* Turn off teavm-java and Go tests for now

* Fixup lockfile after rebase

* Bump crate versions

* Update dependency sources

* Update to wasmtime dep
2023-05-26 12:30:24 -05:00
Alex Crichton
35cb45f25e Fix duplicate C types being generated (#571)
* Support directory-based codegen tests

Remove the old `*.wit` syntax in the macro as it's no longer necessary.

* Fix duplicate C types being generated

Closes #569

* Fix a Rust compile error
2023-05-10 10:52:05 -05:00
Alex Crichton
ca6692e9cf Bump most crates to 0.6.0 (#563) 2023-04-27 15:19:46 -05:00
Peter Huene
7b9539a6d7 Bump crate versions for a release. (#558) 2023-04-18 11:23:24 -07:00
Alex Crichton
197d3be2d6 Bump all crates to 0.4.0 (#531)
Enough has happened it seems reasonable to release everything now. There
have been a number of fixes to Rust and other generators and
additionally there's a new Go generator!
2023-03-07 15:21:58 -06:00
Jiaxiao Zhou
cd9d253d11 Refactor: Renamed folders and crates (#522)
* renamed folders and crates

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* renmae for markdown crate

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* fixed a CI error

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

* changed gen-guest-teavm-java to teavm-java

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>

---------

Signed-off-by: Jiaxiao Zhou <jiazho@microsoft.com>
2023-02-27 09:10:32 -06:00