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

Wasmer3 on context-api branch does not enable universal engine feature by default #3012

Closed
silwol opened this issue Jul 7, 2022 · 1 comment
Labels
bug Something isn't working priority-high High priority issue
Milestone

Comments

@silwol
Copy link
Contributor

silwol commented Jul 7, 2022

Describe the bug

When using wasmer as a dependency for another project, it fails upon instantiation with this message:

Error: Compilation error: The UniversalEngine is not compiled in.

This appears to be caused by the wasmer-compiler/universal_engine feature not being enabled.

Additional context

When changing the default-universal feature in lib/api/Cargo.toml to look like this, the error is gone, no idea if this is the correct way to fix it though:

universal = [
    "engine",
    "wasmer-compiler/universal_engine",
]
@silwol silwol added the bug Something isn't working label Jul 7, 2022
@syrusakbary
Copy link
Member

This issue was on the context_api branch, as part of this PR: #3013 and #2892

@syrusakbary syrusakbary added the priority-high High priority issue label Jul 12, 2022
@syrusakbary syrusakbary added this to the v3.0 milestone Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-high High priority issue
Projects
None yet
Development

No branches or pull requests

2 participants