class Wasmer::Config
- Wasmer::Config
- Reference
- Object
Defined in:
wasmer/config.crConstructors
Instance Method Summary
-
#use_cranelift_compiler
Sets the compiler to Cranelift.
-
#use_dylib_engine
Sets the engine to Dylib.
-
#use_llvm_compiler
Sets the compiler to LLVM.
-
#use_singlepass_compiler
Sets the compiler to Singlepass.
-
#use_staticlib_engine
Sets the engine to Staticlib.
-
#use_target(target : Target)
Use a specific target for doing cross-compilation
-
#use_universal_engine
Sets the engine to Universal.
Constructor Detail
Instance Method Detail
Sets the compiler to Cranelift. Will raise if Cranelift compiler is not
supported by current binding.
Check CompilerKind.available? to check the availability
Sets the engine to Dylib. Will raise if Dylib engine is not
supported by current binding.
Check EngineKind.available? to check the availability
Sets the compiler to LLVM. Will raise if llvm compiler is not
supported by current binding.
Check CompilerKind.available? to check the availability
Sets the compiler to Singlepass. Will raise if Singlepass compiler is not
supported by current binding.
Check CompilerKind.available? to check the availability
Sets the engine to Staticlib. Will raise if Staticlib engine is not
supported by current binding.
Check EngineKind.available? to check the availability
Sets the engine to Universal. Will raise if Universal engine is not
supported by current binding.
Check EngineKind.available? to check the availability