Module Mavryk_wasmer.Config

type compiler =
  1. | CRANELIFT
  2. | LLVM
  3. | SINGLEPASS

Compiler backend

val is_compiler_available : compiler -> bool

is_compiler_available compiler checks if the given compiler is available in the linked Wasmer environment.

type t = {
  1. compiler : compiler;
}

Wasmer engine configuration

val default : t

Sensible default configuration for Wasmer