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

Change the name of wit-bindgen's host implementation traits. #5890

Merged

Commits on Feb 27, 2023

  1. Change the name of wit-bindgen's host implementation traits.

    Instead of naming the host implementation trait something like
    `wasi_filesystem::WasiFilesystem`, name it `wasi_filesystem::Host`, and
    avoid using the identifier `Host` in other places.
    
    This fixes a collision when generating bindings for the current
    wasi-clock API, which contains an interface `wall-clock` which contains
    a type `wall-clock`, which created a naming collision on the name
    `WallClock`.
    sunfishcode committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    3bcc12c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ffeab4d View commit details
    Browse the repository at this point in the history
  3. Fix one more.

    sunfishcode committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    918d32c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c10daa View commit details
    Browse the repository at this point in the history