v0.49.0 - 2025-08-07
This version prepares Wasmi for its 1.0 release.
Changed
- Deprecate
wasmi::core
module re-export. #1605- Public facing definitions are now re-exported from
wasmi
's
crate root which users should use instead.
- Public facing definitions are now re-exported from
- Improve Wasmi's Wasmtime API mirror:
- Make
ExternRef
non-nullable and introduce new nullableRef
type. #1603- Wasmtime uses
Option<ExternRef>
instead which is very similar. Ref<ExternRef>
can be converted toOption<ExternRef>
using theval
method.
- Wasmtime uses
- Remove
FuncRef
type in favor ofRef<Func>
#1604- Wasmtime uses
Option<Func>
instead which is very similar. Ref<Func>
can be converted toOption<Func>
using theval
method.
- Wasmtime uses
- Deprecate
InstancePre
andLinker::instantiate
#1602- Enable fuel metering and set fuel to zero before instantiation
in order to prevent running a Wasm module'sstart
function upon
instantiation.
- Enable fuel metering and set fuel to zero before instantiation
- Deprecate
LinkerBuilder
type. #1601- Use
Linker
orInstance::new
instead.
- Use
- Make