wasmtime_strategy_enum enum
\brief Different ways that Wasmtime can compile WebAssembly
The default value is #WASMTIME_STRATEGY_AUTO.
Values
- WASMTIME_STRATEGY_AUTO → const wasmtime_strategy_enum
-
Automatically picks the compilation backend, currently always defaulting to Cranelift.
const wasmtime_strategy_enum(0) - WASMTIME_STRATEGY_CRANELIFT → const wasmtime_strategy_enum
-
Indicates that Wasmtime will unconditionally use Cranelift to compile WebAssembly code.
const wasmtime_strategy_enum(1) - WASMTIME_STRATEGY_WINCH → const wasmtime_strategy_enum
-
Indicates that Wasmtime will unconditionally use Winch to compile WebAssembly code.
For more details regarding ISA support and Wasm proposals support see docs.wasmtime.dev/stability-tiers.html#current-tier-status
const wasmtime_strategy_enum(2)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → wasmtime_strategy_enum
Constants
-
values
→ const List<
wasmtime_strategy_enum> - A constant List of the values in this enum, in order of their declaration.