Module wasmtime_runtime::libcalls::raw
source · Expand description
Raw functions which are actually called from compiled code.
Invocation of a builtin currently looks like:
- A wasm function calls a cranelift-compiled trampoline that’s generated once-per-builtin.
- The cranelift-compiled trampoline performs any necessary actions to exit wasm, such as dealing with fp/pc/etc.
- The cranelift-compiled trampoline loads a function pointer from an array
stored in
VMContext
That function pointer is defined in this module. - This module runs, handling things like
catch_unwind
andResult
and such. - This module delegates to the outer module (this file) which has the actual implementation.
Functions§
- gc⚠