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

Switch from Wasmer to Wasmtime #3349

Merged
merged 10 commits into from
Jun 28, 2024
Merged

Commits on Jun 14, 2024

  1. Remove ForeignFunctionEnv wrapper around PluginEnv

    This will enable PluginEnv to be the Store context when migrating to
    Wasmtime.
    bjorn3 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    7aa6462 View commit details
    Browse the repository at this point in the history
  2. Pass PluginEnv by value to load_plugin_instance

    This will allow removing the Clone impl from PluginEnv when migrating to
    Wasmtime as required by the missing Clone impl on Wasmtime's WasiCtx.
    bjorn3 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    e4312dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9fda2ba View commit details
    Browse the repository at this point in the history
  4. Pass PluginEnv to the wasi read/write functions

    Wasmtime requires storing the read/write end of the pipe outside of the
    WasiCtx. Passing PluginEnv to these functions allows storing them in the
    PluginEnv.
    bjorn3 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    f63f18f View commit details
    Browse the repository at this point in the history
  5. Migrate to Wasmtime

    bjorn3 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    74a3b59 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    73bfd19 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    efd3fe2 View commit details
    Browse the repository at this point in the history
  8. Increase startup delay

    To wait for all plugins to be compiled.
    bjorn3 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    922801e View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Disable some wasmtime features

    bjorn3 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    884b0da View commit details
    Browse the repository at this point in the history
  2. Update to Wasmtime 21.0.1

    bjorn3 committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    a05f412 View commit details
    Browse the repository at this point in the history