docs.rs failed to build wasmer-compiler-llvm-5.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
wasmer-compiler-llvm-4.4.0
wasmer-compiler-llvm
This crate contains a compiler implementation based on the LLVM Compiler Infrastructure.
Usage
use ;
use LLVM;
let compiler = LLVM new;
let mut store = new;
Note: you can find a full working example using LLVM compiler here.
When to use LLVM
We recommend using LLVM as the default compiler when running WebAssembly files on any production system, as it offers maximum peformance near to native speeds.
Requirements
The LLVM compiler requires a valid installation of LLVM in your system. It currently requires LLVM 15.
You can install LLVM easily on your Debian-like system via this command:
Or in macOS:
Or via any of the pre-built binaries that LLVM offers.