Skip to content
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

Update the wasm-tools family of crates, disallow empty component types #6777

Merged
merged 5 commits into from
Jul 26, 2023

Commits on Jul 26, 2023

  1. Remove unused WIT files from Wasmtime

    These files aren't actually read by anything currently. They were added
    historically and a previous refactoring in bytecodealliance#6390 forgot to remove them.
    No tests or build process reads them so this deletes them to get them
    out of the way.
    alexcrichton committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    781d4d6 View commit details
    Browse the repository at this point in the history
  2. Update dependencies on wasm-tools crates.

    This commit updates the deps on the wasm-tools family of crates to bring
    in a few fixes for WIT/component-related things. Primarily though this
    brings in an update to the component model where empty types are now
    disallowed.
    
    Some tests using empty types were adjusted to use non-empty types, but
    many tests were also simply removed as they existed to test what would
    happen with empty types which now no longer needs to be tested.
    alexcrichton committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    94d074e View commit details
    Browse the repository at this point in the history
  3. Update stream-error in preview2

    Add a `dummy` field to make it a non-empty structure. It's expected that
    this will change to something else more "official" in the future, but
    for now this is here to keep everything compiling.
    alexcrichton committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    974d460 View commit details
    Browse the repository at this point in the history
  4. Update component fuzzing to avoid empty types

    Empty types are no longer valid
    alexcrichton committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    a4195b6 View commit details
    Browse the repository at this point in the history
  5. Update crates/wasi/wit/deps/io/streams.wit

    Co-authored-by: Peter Huene <peter@huene.dev>
    alexcrichton and peterhuene authored Jul 26, 2023
    Configuration menu
    Copy the full SHA
    1094606 View commit details
    Browse the repository at this point in the history