Commit Graph

  • f02508ef43 Update dependencies, notably pulling in WIT fixes (#461) Alex Crichton 2023-01-24 23:52:55 -06:00
  • 808d311980 Fix bindings generation for bare function exports (#459) Alex Crichton 2023-01-24 16:56:14 -06:00
  • ce998727a8 fix cross-interface symbol resolution in Java guest generator (#458) Joel Dice 2023-01-23 14:16:29 -07:00
  • d7b870268e Update the wit-{component,parser} crates (#457) Alex Crichton 2023-01-20 15:41:38 -06:00
  • d24b97fcb1 gen-guest-c: Emit prettier comments. (#455) Dan Gohman 2023-01-03 09:42:18 -06:00
  • 04da8c2284 gen-guest-c: flatten optional params into nullable pointers (#453) Guy Bedford 2022-12-12 14:13:33 -08:00
  • 5362b21c42 gen-guest-c: switch result boolean to indicate success (#452) Guy Bedford 2022-12-12 12:39:19 -08:00
  • d47b6c5361 gen-guest-c: scalar enum result -> bool return, ok & err ptrs (#450) Guy Bedford 2022-12-09 13:04:11 -08:00
  • 1899a1d008 gen-guest-c: Print private types to the .c file (#448) Dan Gohman 2022-12-07 12:44:33 -08:00
  • 23bce9042e gen-guest-c: Move the wasm import declarations into the .c file (#447) Dan Gohman 2022-12-07 11:36:01 -08:00
  • bf54958c1c Remove the wasmtime-rust host from this repository (#439) Alex Crichton 2022-12-06 13:06:15 -06:00
  • 9c40084d14 gen-guest-c: define OK constant for scalar enum results (#440) Guy Bedford 2022-11-28 10:01:53 -08:00
  • 4bd4371084 Bump wit-parser and wit-component dependencies. (#442) Peter Huene 2022-11-23 18:32:24 -08:00
  • dde0dc92a3 Use to_rust_ident to generate identifiers in Rust code. (#441) Dan Gohman 2022-11-23 15:50:11 -08:00
  • 40f9a05fa2 Bump version of dependency crates (#438) Alex Crichton 2022-11-21 23:09:47 -06:00
  • c215ae46f5 Fix a typo in README.md (#437) Jerboas86 2022-11-20 02:06:16 +01:00
  • a6d3e3efbf Remove wit-bindgen-gen-host-wasmtime-py (#436) Alex Crichton 2022-11-18 15:09:07 -06:00
  • 0b45c736f6 Remove wit-{component,parser} from this repository (#434) Alex Crichton 2022-11-17 10:22:23 -06:00
  • 0220c9593c Migrate all tests to using world-file-syntax (#432) Alex Crichton 2022-11-15 17:16:09 -06:00
  • 717ab1eea8 Expose macro_export in guest-rust-macro (#431) Amit Prasad 2022-11-15 15:22:46 -06:00
  • bae7474466 Remove usage of Interface::parse_file in wit-component tests (#430) Alex Crichton 2022-11-15 12:44:52 -06:00
  • f41c9e0a0d syntax: world + interface (#413) Brian 2022-11-15 10:02:30 -05:00
  • 064bd1a793 gen-host-js: Fix typo in ComponentError constructor, -b short flag (#429) Guy Bedford 2022-11-13 10:26:12 -08:00
  • aed92eb1cf gen-host-js: auto loading behaviour, based on --base64-cutoff for inlining (#425) Guy Bedford 2022-11-10 14:34:21 -08:00
  • b66df4d517 gen-host-js: --nodejs-compat default / --no-nodejs-compat (#427) Guy Bedford 2022-11-10 13:46:58 -08:00
  • 6d48630ff2 gen-host-js: make ComponentError string payload non-enumerable (#426) Guy Bedford 2022-11-10 13:33:06 -08:00
  • 1b2abcaf28 Update wasm-tools family of crates (#424) Alex Crichton 2022-11-09 17:17:51 -06:00
  • ad62c5a2de gen-host-js: support direct ArrayBuffer for Uint8Array lists (#423) Guy Bedford 2022-11-09 14:01:54 -08:00
  • 217b866514 Add the ability to skip bindings in Rust (#422) Alex Crichton 2022-11-09 12:50:17 -06:00
  • 4862162477 Implement exporting interfaces from adapter modules (#421) Alex Crichton 2022-11-09 12:49:43 -06:00
  • e7fd381c8b gen-host-js: --load flag support (#418) Guy Bedford 2022-11-08 14:30:13 -08:00
  • 47037af329 Fix some test-related issues (#419) Alex Crichton 2022-11-08 14:04:02 -06:00
  • b0a34f022f gen-host-js: --valid-lifting-optimization (#415) Guy Bedford 2022-11-07 16:48:42 -08:00
  • 4dd288449c gen-host-js: Top-level await compatibility via $init promise (#414) Guy Bedford 2022-11-07 12:57:27 -08:00
  • e1b85f28a9 gen-host-js: Error wrapping and unwrapping for singular Result types (#409) Guy Bedford 2022-11-04 13:46:01 -07:00
  • 829d556673 gen-guest-c: weak attribute on post-return abi functions (#412) Guy Bedford 2022-11-03 15:19:20 -07:00
  • 2612c44610 gen-host-js: base64 option (#411) Guy Bedford 2022-11-03 12:13:26 -07:00
  • 2047fa4c8f Emit component name in core Wasm file names (#408) Guy Bedford 2022-10-31 14:22:19 -07:00
  • f22e230007 gen-host-js: instance ESM output by default (#406) Guy Bedford 2022-10-28 16:31:52 -07:00
  • 0234aa2e61 update the Java guest generator for world-based generation (#405) Joel Dice 2022-10-28 08:12:13 -06:00
  • 407d8925d5 gen-host-js: support undefined values in lowering for nullable options (#402) Guy Bedford 2022-10-26 20:06:45 -07:00
  • 9595240b8c Refactor how string encodings are specified to wit-component (#401) Alex Crichton 2022-10-26 16:29:46 -05:00
  • 9ed3613a16 JS host formatting (#400) Guy Bedford 2022-10-26 13:19:54 -07:00
  • 9e19a7d12e Allow adapters to import multiple interfaces (#398) Alex Crichton 2022-10-26 14:37:23 -05:00
  • 5ab5480004 cli: default naming, default string encoding flags (#399) Guy Bedford 2022-10-26 11:34:16 -07:00
  • 6ed55f3143 Strip component-type* custom sections during componentization (#397) Alex Crichton 2022-10-26 12:32:44 -05:00
  • 9d7b32091b Update the guest C generator for world-based generation (#396) Alex Crichton 2022-10-25 16:17:14 -05:00
  • b6df951794 gen-host-js: utf16 support (#392) Guy Bedford 2022-10-25 13:05:29 -07:00
  • bd896073bd Update wit-bindgen-rust code generation to support cargo component. (#394) Peter Huene 2022-10-24 14:16:06 -07:00
  • c5f82a40e4 Update markdown generator for world inputs (#393) Alex Crichton 2022-10-24 11:33:15 -05:00
  • 9da8f567c4 Fix tests on main Alex Crichton 2022-10-24 07:43:48 -07:00
  • 34a4bc7ce0 Reimplement the host Python generator with worlds (#386) Alex Crichton 2022-10-24 09:16:04 -05:00
  • 5be459e57f Some clean-up work. (#391) Peter Huene 2022-10-24 07:15:46 -07:00
  • 0cde4dc13d guest-c: Reformatting, formatting flags (#389) Guy Bedford 2022-10-21 12:05:36 -07:00
  • 3cae985edf Host-wasmtime-rust: import functions are able to Trap execution (#388) Pat Hickey 2022-10-21 10:54:19 -07:00
  • 09687166ae Fix git dep, and fix name parsing from filename in cli (#384) Pat Hickey 2022-10-19 14:19:59 -07:00
  • 00a82e6d2a Implement the component-model lexing rules for identifiers. (#382) Dan Gohman 2022-10-19 08:26:12 -07:00
  • 9370a15e61 host-wasmtime-rust: support async stores (#383) Pat Hickey 2022-10-19 06:39:53 -07:00
  • 614e4017cd Integrate worlds into the Rust & JS generators (#381) Alex Crichton 2022-10-18 16:29:28 -05:00
  • dd51446a5d guest-c: use string include (#380) Guy Bedford 2022-10-18 10:44:07 -07:00
  • ce1eb2ae9b Add testwasi to invalid JS test again Alex Crichton 2022-10-17 08:20:53 -07:00
  • f59f28e3a7 Update unaligned tests for Rust hosts (#377) Alex Crichton 2022-10-17 10:19:02 -05:00
  • 9609ca8daf fix incorrect size args when freeing lists in Java (#379) Joel Dice 2022-10-17 08:35:57 -06:00
  • 4934194d9b js: Take a component as input, not interfaces (#373) Alex Crichton 2022-10-13 16:57:01 -05:00
  • 0dd45bf627 wasmtime: Remove lifetime and type parameter from exports (#374) Alex Crichton 2022-10-13 15:21:25 -05:00
  • 0aa34ce3ab Fix wit-encoded exported interfaces with unused type aliases (#372) Alex Crichton 2022-10-13 13:08:32 -05:00
  • ba341ab43f Add support for debug printing to the wasi_snapshot_preview1 adapter (#371) Pat Hickey 2022-10-13 09:59:13 -07:00
  • 5e5d63fd22 rewrite gen-host-wasmtime-rust to use Wasmtime's component runtime (#355) Pat Hickey 2022-10-13 06:53:08 -07:00
  • 04df89e65b Embed named type information in components (#369) Alex Crichton 2022-10-12 09:31:01 -05:00
  • 7158b73873 feat: added build info to --version (#368) Jiaxiao Zhou 2022-10-12 07:16:50 -07:00
  • c595df395a Bump version to 0.3.0 (#365) Jiaxiao Zhou 2022-10-10 13:23:49 -07:00
  • 200d16acc6 added version to Opt (#367) Jiaxiao Zhou 2022-10-10 07:16:38 -07:00
  • 7873639398 Use the "unicode" feature with heck (#364) George Kulakowski 2022-10-07 13:40:42 -07:00
  • d17f638b71 Refactor and reorganize how testing works (#363) Alex Crichton 2022-10-07 14:06:29 -05:00
  • 7e9f8787b9 Fix warnings in lex.rs (#362) George Kulakowski 2022-10-07 12:06:15 -07:00
  • 42b56bfb56 Re-add tokenizing of quoted string literals (#361) Brian 2022-10-07 12:06:03 -04:00
  • a1aabccc83 Update all crates to heck 0.4 (#360) George Kulakowski 2022-10-06 15:35:29 -07:00
  • 7d825995f1 test build: write components to disk as well, and put them in WASMS (#359) Pat Hickey 2022-10-06 12:57:01 -07:00
  • 45604f5833 Remove async from features (#358) Konstantin Shabanov 2022-10-06 23:25:07 +07:00
  • 670e3acba5 Fix hashing and equality in wit-component encoding (#357) Alex Crichton 2022-10-06 10:55:26 -05:00
  • 9e7a2edbed Add a raw_strings option. (#352) Dan Gohman 2022-10-05 19:48:00 -07:00
  • e6edcc2665 Remove obsolete test exclusions. (#353) Dan Gohman 2022-10-05 16:51:36 -07:00
  • 142b10ff12 Guest C custom sections containing component types (#347) Pat Hickey 2022-10-05 16:43:34 -07:00
  • 9649d344f3 add lists and variants runtime tests for Java generator (#351) Joel Dice 2022-10-05 13:01:21 -06:00
  • 4df0dcd637 Merge pull request #349 from alexcrichton/adapter-for-wasi Pat Hickey 2022-10-05 10:38:15 -07:00
  • eac35d6759 Merge pull request #350 from alexcrichton/no-import-empty-instance Pat Hickey 2022-10-05 09:41:54 -07:00
  • d211580335 Don't import empty interfaces for adapters Alex Crichton 2022-10-05 09:10:43 -07:00
  • 0caee95c3d Compile test cases with wasm32-wasi again Alex Crichton 2022-10-05 08:48:33 -07:00
  • 5edb0c87f9 Remove special case for "invalid" test (#348) Alex Crichton 2022-10-05 10:44:26 -05:00
  • 7be8acc657 Encode component types in canonical ABI module custom sections (#331) Pat Hickey 2022-10-05 07:42:22 -07:00
  • 25596c799b Remove support for handles and resources (#346) Alex Crichton 2022-10-05 09:34:00 -05:00
  • a4e4f7add0 no_std support in the Rust guest bindings. (#345) Dan Gohman 2022-10-05 07:28:23 -07:00
  • fc35377b64 Add support to wit-component to polyfill WASI (#338) Alex Crichton 2022-10-04 13:50:40 -05:00
  • f26c887b9f Update to clap 4.0.9 (#344) George Kulakowski 2022-10-04 07:15:13 -07:00
  • 96b4e3f388 Remove use of the obsolete handle keyword (#343) George Kulakowski 2022-10-03 14:45:43 -07:00
  • 621f0edbf5 Leverage Cargo's workspace inheritance feature (#340) Alex Crichton 2022-10-03 13:26:34 -05:00
  • 6d3913dde0 implement multi-return support for Java bindings (#339) Joel Dice 2022-10-03 09:22:22 -06:00
  • 362accbf96 remove Canonical ABI name mangling (#334) Pat Hickey 2022-10-03 08:04:10 -07:00
  • f1f54ac47a Make encodings in wit-component harder to get wrong (#337) Alex Crichton 2022-10-03 09:16:36 -05:00
  • aca3671b51 Add support for post-return to wit-component (#336) Alex Crichton 2022-09-30 16:11:22 -05:00