Skip to content

Conversation

alexcrichton
Copy link
Contributor

This commit adds a test suite for consuming interface types modules as
input and producing a JS polyfill output. The tests are relatively
simple today and don't exercise a ton of functionality, but they should
hopefully cover the breadth of at least some basics of what wasm
interface types supports today.

A few small fixes were applied along the way, such as:

  • Don't require modules to have a stack pointer

  • Allow passing *.wat, *.wit, or *.wasm files as input to
    wasm-bindgen instead of always requiring *.wasm.

Copy link
Contributor

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@alexcrichton alexcrichton force-pushed the interface-types-tests branch from 66d593d to a6f9ef7 Compare December 5, 2019 01:18
This commit adds a test suite for consuming interface types modules as
input and producing a JS polyfill output. The tests are relatively
simple today and don't exercise a ton of functionality, but they should
hopefully cover the breadth of at least some basics of what wasm
interface types supports today.

A few small fixes were applied along the way, such as:

* Don't require modules to have a stack pointer

* Allow passing `*.wat`, `*.wit`, or `*.wasm` files as input to
  `wasm-bindgen` instead of always requiring `*.wasm`.
@alexcrichton alexcrichton force-pushed the interface-types-tests branch from a6f9ef7 to 5ca8ebb Compare December 5, 2019 04:10
@alexcrichton alexcrichton merged commit 057c915 into wasm-bindgen:master Dec 5, 2019
@alexcrichton alexcrichton deleted the interface-types-tests branch December 5, 2019 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants