class

Wasmer::Config

Inherits Reference / Object

Constructors

Instance methods

use_cranelift_compiler

Sets the compiler to Cranelift. Will raise if Cranelift compiler is not supported by current binding. Check CompilerKind.available? to check the availability

Source
use_dylib_engine

Sets the engine to Dylib. Will raise if Dylib engine is not supported by current binding. Check EngineKind.available? to check the availability

Source
use_llvm_compiler

Sets the compiler to LLVM. Will raise if llvm compiler is not supported by current binding. Check CompilerKind.available? to check the availability

Source
use_singlepass_compiler

Sets the compiler to Singlepass. Will raise if Singlepass compiler is not supported by current binding. Check CompilerKind.available? to check the availability

Source
use_staticlib_engine

Sets the engine to Staticlib. Will raise if Staticlib engine is not supported by current binding. Check EngineKind.available? to check the availability

Source
use_target(target : Target)

Use a specific target for doing cross-compilation

Source
use_universal_engine

Sets the engine to Universal. Will raise if Universal engine is not supported by current binding. Check EngineKind.available? to check the availability

Source