mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
8ed340b6f1
When requiring `wasmer-runtime-c-api`, I get the following conflicts: ``` error: failed to select a version for `serde_derive`. ... required by package `cbindgen v0.7.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` versions that meet the requirements `= 1.0.58` are: 1.0.58 all possible versions conflict with previously selected packages. previously selected package `serde_derive v1.0.89` ... which is depended on by `wasmer-runtime-core v0.2.1` ... which is depended on by `wasmer-runtime-c-api v0.2.1` ... which is depended on by `foo v0.1.0 (/private/tmp/foo)` failed to select a version for `serde_derive` which could resolve this conflict ``` This issue resolves by updating `cbindgen` to 0.8. |
||
---|---|---|
.. | ||
clif-backend | ||
emscripten | ||
runtime | ||
runtime-c-api | ||
runtime-core | ||
spectests | ||
win-exception-handler | ||
.gitignore | ||
README.md |
Wasmer Libraries
Wasmer is modularized into different libraries, separated into three main sections:
Runtime
The core of Wasmer is the runtime, which provides the necessary abstractions to create a good user experience when embedding.
The runtime is divided into two main libraries:
- runtime-core: The main implementation of the runtime.
- runtime: Easy-to-use API on top of
runtime-core
.
Integrations
The integration builds on the Wasmer runtime and allow us to run WebAssembly files compiled for different environments.
Wasmer intends to support different integrations:
- emscripten: run Emscripten-generated WebAssembly files, such as Lua or nginx.
- Go ABI: we will work on this soon! Want to give us a hand? ✋
- Blazor: research period, see tracking issue
Backends
The Wasmer runtime is designed to support multiple compiler backends, allowing the user to tune the codegen properties (compile speed, performance, etc) to best fit their use case.
Currently, we support a Cranelift compiler backend:
- clif-backend: The integration of Wasmer with Cranelift