Commit Graph

  • baf142a9fd Update RequiredOptions processing in wit-component (#335) Alex Crichton 2022-09-30 16:09:48 -05:00
  • f06f66028d improve Java binding ergonomics (#332) Joel Dice 2022-09-30 08:20:46 -06:00
  • 95b4d216aa wit-component: Don't import unused functions on an interface (#330) Alex Crichton 2022-09-29 11:17:03 -05:00
  • c4ee86440b add guest binding generator for TeaVM/Java (#327) Joel Dice 2022-09-29 09:07:22 -06:00
  • de5acab227 Revert "wit-component: update the tool to expect mangled names. (#322)" (#329) Pat Hickey 2022-09-29 07:49:46 -07:00
  • 4ddd546a30 Fix Python tests for latest mypy (#328) Alex Crichton 2022-09-28 09:43:01 -05:00
  • 251e84b891 Move RET_AREA variables onto the stack for import bindings. (#326) Dan Gohman 2022-09-26 10:12:04 -07:00
  • 5e90ee021f Merge pull request #325 from alexcrichton/rm-dep Pat Hickey 2022-09-23 09:28:30 -07:00
  • 26ee8f0ec2 Remove an unused dependency from wit-parser Alex Crichton 2022-09-23 08:18:25 -07:00
  • 6aadac3f47 wit-component: update the tool to expect mangled names. (#322) Peter Huene 2022-09-23 08:10:10 -07:00
  • 2c3b7fede8 wit-component: update to latest dependencies. (#320) Peter Huene 2022-09-22 11:05:32 -07:00
  • b781a7bc93 Initial work towards getting post-return functions (#310) Alex Crichton 2022-09-22 10:55:37 -05:00
  • 651976204e Synchronize the wit-bindgen type AST with the component model (#318) Alex Crichton 2022-09-22 09:11:34 -05:00
  • d375b853ac chore: bump edition to 2021 (#319) Jiaxiao Zhou 2022-09-22 07:09:03 -07:00
  • cdf0a4a14c Remove the guest-spidermonkey generator for now (#316) Alex Crichton 2022-09-21 09:26:11 -05:00
  • 181093b58f chore: update wasmtime to 1.0 (#315) Jiaxiao Zhou 2022-09-20 14:21:14 -07:00
  • 346241b4f3 Remove the special case for empty records. (#312) Dan Gohman 2022-09-13 16:00:10 -07:00
  • 9ef6717e2c Canonical ABI name mangling (#309) Dan Gohman 2022-09-12 13:11:28 -07:00
  • 3cdaefa875 Update JS flags representation (#254) Liam Murphy 2022-09-08 01:31:47 +10:00
  • f1682df9ad Remove async func support. (#307) Dan Gohman 2022-09-02 11:32:19 -07:00
  • 28ad389eeb Fix feature names after prior renamings (#308) Alex Crichton 2022-09-01 15:00:12 -05:00
  • 18aaa44e1e Update JS integer lowering (#256) Liam Murphy 2022-09-02 05:53:04 +10:00
  • a4a138be44 Reorganize folder structure (#301) Kyle Brown 2022-08-24 13:07:35 -04:00
  • 01c8935097 Derive Clone and PartialEq for wit_parser::Interface (#304) Michael Bryan 2022-08-19 23:59:59 +08:00
  • cb871cfa1e Bump version to 0.2.0 (#302) Kyle Brown 2022-08-18 17:05:22 -04:00
  • 0ab80aedfa chore: update to wasmtime 0.39.1 (#300) Philpax 2022-08-09 16:26:48 +02:00
  • f7f95bacfa wit-bindgen-rust: fix lowering and lifting of zero-length lists. (#296) Peter Huene 2022-08-03 17:17:14 -07:00
  • b40addaf66 wit-component: emit function type encodings first. (#295) Peter Huene 2022-08-03 11:36:55 -07:00
  • 83b26ddd02 wit-bindgen-rust: use derived name for return area type. (#294) Peter Huene 2022-08-01 09:01:39 -07:00
  • 005a9e6d5b Implement support for future and stream in a few utility methods. (#287) Dan Gohman 2022-07-20 14:39:03 -07:00
  • 0e30d8c6e9 Fix some minor bugs in the WIT parser (#284) Liam Murphy 2022-07-20 02:07:32 +10:00
  • 60e3c5b41e wit-component: clean up type exports. (#281) Peter Huene 2022-07-15 12:06:35 -07:00
  • d31c4e3dfc Implement syntax support for resource subtyping. (#280) Dan Gohman 2022-07-13 07:06:22 -07:00
  • 9760e06825 Remove duplicate definition of identifiers from WIT.md (#276) Liam Murphy 2022-07-12 23:07:55 +10:00
  • 128fd671da Ignore clippy warnings in generated code (#279) 7sDream 2022-07-12 21:07:25 +08:00
  • 2679e06d74 Escape the full list of Rust keywords when converting identifiers (#278) Liam Murphy 2022-07-12 00:17:19 +10:00
  • 7b7625a76b docs: update wit.md according current parser impl (#277) 7sDream 2022-07-11 22:13:08 +08:00
  • 3780adcebe Disambiguate wit-component -i flag (#275) Klim Tsoutsman 2022-07-08 10:17:07 +10:00
  • ea71cad5d7 Generate impls for core traits rather than std (#271) Klim Tsoutsman 2022-07-08 00:58:11 +10:00
  • 206263e357 Implement parsing for the future type. (#269) Dan Gohman 2022-07-01 10:50:45 -07:00
  • fce4b529f3 Implement std::fmt::Write for Source (#267) Liam Murphy 2022-07-01 01:33:34 +10:00
  • 32cd6dafab chore: update to latest wasmtime release (0.38.0) (#261) Joel Dice 2022-06-27 07:52:59 -06:00
  • 2b86ad0747 Update JS float lowering (#258) Liam Murphy 2022-06-23 01:14:31 +10:00
  • 32473adc8f Don't create unnecessary unsafe block inside unsafe fn in generated Rust (#257) Liam Murphy 2022-06-23 01:12:55 +10:00
  • 345c4537a9 Make Docs::contents None for regular comments. (#255) Liam Murphy 2022-06-23 01:11:01 +10:00
  • 2433f08c4b Introduce SourceBuilder utility (#252) Kyle Brown 2022-06-21 10:27:57 -04:00
  • 5d4c373adf Update JS enum representation (#253) Liam Murphy 2022-06-22 00:23:35 +10:00
  • 380b6f2a64 Use docstrings in Python generator (#248) Kyle Brown 2022-06-15 17:59:15 -04:00
  • 067661db40 wit-bindgen-rust: enable standalone code generation. (#193) Peter Huene 2022-06-14 15:02:06 -07:00
  • f0052e5bb8 Improve naming of union cases in Rust (#242) Liam Murphy 2022-06-15 00:22:06 +10:00
  • dde4694aaa wit-component: update to latest component model proposal. (#239) Peter Huene 2022-06-13 12:07:10 -07:00
  • 05c8656b56 Correct *.wit format docs to reflect current implementation of resource-defs (#241) Gerald Melles 2022-06-13 15:38:05 +02:00
  • d949374ce6 Remove wasmlink, wasmlink-cli, and test-modules. (#240) Peter Huene 2022-06-13 06:34:55 -07:00
  • de91e00e90 Update grammar for func in WIT.md (#238) Jackson Gardner 2022-06-10 17:02:41 -07:00
  • c1693148d9 Python unions no longer introduce separate wrapper types (#234) Kyle Brown 2022-06-10 13:24:40 -04:00
  • 7f66bd7af6 Replace function with func (#232) Kyle Brown 2022-06-09 15:22:00 -04:00
  • f8d4e9c63c Implement parsing for the stream type. (#228) Dan Gohman 2022-06-07 06:10:25 -07:00
  • af1a04ac16 Updating WIT specification for f32 and f64 (#231) Kyle Brown 2022-06-06 14:12:13 -04:00
  • d9798134b1 Create development container for wit-bindgen (#229) Kyle Brown 2022-06-06 10:28:26 -04:00
  • a1d99c6714 Allow use directives to find .wit.md files. (#227) Dan Gohman 2022-06-02 06:11:59 -07:00
  • 57698e6f1b Replace _ with unit in the wit format document (#226) Ramnivas Laddad 2022-05-31 07:24:07 -07:00
  • a79a4be33d Oneshot should hold the inner (#222) DianQK 2022-05-19 23:28:47 +08:00
  • 458a664bce wit-component: update wasm-tools dependencies to latest. (#221) Peter Huene 2022-05-10 09:45:29 -07:00
  • 84182064b4 Represent Variant with a non-optional payload type (#220) Alex Crichton 2022-05-10 10:28:56 -05:00
  • 39db35a9ba Split out a Union type from Variant (#219) Alex Crichton 2022-05-09 09:28:10 -05:00
  • 51af112a0b Split out the Option and Expected types from Variant (#215) Alex Crichton 2022-05-05 10:53:15 -05:00
  • d218845d35 Split out an Enum type from the Variant type (#211) Alex Crichton 2022-05-03 10:07:25 -05:00
  • 744d5dd574 Split out the Tuple type from the Record type (#210) Alex Crichton 2022-05-02 09:02:43 -05:00
  • 8080af243c Split out the flags type from record (#209) Alex Crichton 2022-04-28 18:25:43 -05:00
  • b7ccb13c9a Add support for params passed indirectly (#208) Alex Crichton 2022-04-28 14:29:18 -05:00
  • 3096e5924f Change the ABI for multi-value returns (#207) Alex Crichton 2022-04-28 13:54:30 -05:00
  • 2f422f87d3 Change functions to have one return value (#206) Alex Crichton 2022-04-22 08:58:40 -05:00
  • ba4ec2e0dc Add new "unit" and "bool" primitive types (#204) Alex Crichton 2022-04-21 19:02:55 -05:00
  • 8aa2b37b42 Fix missing items in C header files (#205) Alex Crichton 2022-04-21 19:02:25 -05:00
  • 6d78047c14 Add a Type::String variant (#202) Alex Crichton 2022-04-21 09:38:09 -05:00
  • 224049db2d Feature gate wit-bindgen-rust dependencies. (#203) Peter Huene 2022-04-21 07:36:15 -07:00
  • a51f4f8544 Change the ABI for "join" on variants (#199) Alex Crichton 2022-04-20 17:01:57 -05:00
  • 1eccdd8e3f Remove RustGenerator::print_pointer (#200) Alex Crichton 2022-04-20 12:28:07 -05:00
  • 76b8a9a599 Rename f32/f64 to float32/float64 (#198) Alex Crichton 2022-04-20 11:13:14 -05:00
  • 6e260af398 Remove support for usize and char8 (#197) Alex Crichton 2022-04-20 09:17:50 -05:00
  • 43411623c1 Remove no-longer-necessary param to lower (#196) Alex Crichton 2022-04-19 15:13:52 -05:00
  • 1f9e602b5e Drop support for old-style *.witx files (#195) Alex Crichton 2022-04-19 14:23:21 -05:00
  • bb33644b4f chore: update Wasmtime to v0.35.2 (#192) Radu Matei 2022-04-11 17:02:43 +03:00
  • d086240c74 tests: Update tests in wit-component (#190) Saúl Cabrera 2022-04-07 11:12:12 -04:00
  • a963df9146 Remove the leading $ from the install instructions so it doesn't get copied via the copy button. (#189) Jakob Homan 2022-04-06 08:12:58 -07:00
  • e165c0226a fix(wasmtime): Fix borrowchecker errors in Wasmtime list lowering (#188) Christoph Herzog 2022-04-04 20:19:20 +00:00
  • 8929a9031e wit-component: implement a tool to create WebAssembly components. (#183) Peter Huene 2022-04-04 10:47:28 -07:00
  • f5eed0fb9f Correctly derive Clone on generated types (#184) Michael Bryan 2022-04-02 00:09:37 +08:00
  • 01231ec857 use main branch of wasm-tools (#182) David Yamnitsky 2022-03-28 11:45:55 -04:00
  • e2431172e0 Merge pull request #181 from saulecabrera/update-wasm-encoder Peter Huene 2022-03-24 10:00:55 -07:00
  • c53fd6988f chore: Update wasmencoder to v0.10.0 Saúl Cabrera 2022-03-24 11:01:53 -04:00
  • d5c8b3960d wit-component: update interface-only encodings. (#177) Peter Huene 2022-03-21 07:41:05 -07:00
  • 2f46ce4cc0 Update wasmlink readme on how wasmtime specifies wasm features (#176) Jackson Hong 2022-03-17 13:50:43 -04:00
  • c9b113be14 Replace string-literal syntax with a new '%' identifier syntax. (#123) Dan Gohman 2022-03-14 07:12:18 -07:00
  • 273947434f Make the procedural macros read files relative to $CARGO_MANIFEST_DIR (#167) Michael Bryan 2022-03-11 00:58:17 +08:00
  • 8a27d70232 Merge pull request #166 from peterhuene/wit-component-encode Peter Huene 2022-03-09 10:14:48 -08:00
  • 642bb914c4 Fix error message in wasm2wit. Peter Huene 2022-03-08 14:38:58 -08:00
  • 86bec5aaa8 Add a README to wit-component. Peter Huene 2022-03-08 14:11:12 -08:00
  • db329ff0c4 Fix incorrect doc comment. Peter Huene 2022-03-08 14:01:31 -08:00
  • 2efe1a52b4 Add some basic round-trip tests for wit <-> wasm. Peter Huene 2022-03-08 13:30:45 -08:00