-
Notifications
You must be signed in to change notification settings - Fork 825
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
API for using middleware with cranelift #1418
Comments
Hi @webmaster128, We currently don't support middleware in Cranelift. However we will ship soon support for it! :) |
Ah cool, thanks. No rush. Good to know I did not miss something obvious. |
We are currently refactoring Wasmer. |
We are in the process to add full support for middleware in the refactor. |
Assuming this is done on current master by now. Will open more specific issues when I run into trouble. |
Right now we use the following code to create a singlepass compiler with a middleware chain:
However, trying to do the same thing (minus the metering) with cranelift does not work due to a missing export:
It seems like there is only the 4-element type
exposed and
wasmer_clif_backend::code::CraneliftModuleCodeGenerator
is private.If this a missing feature or am I doing something wrong here?
The text was updated successfully, but these errors were encountered: