IsPulley will return whether the current engine's execution is backed by the Pulley interpreter inside of Wasmtime. If this returns false then native execution is used instead.
()
| 87 | // the Pulley interpreter inside of Wasmtime. If this returns false then |
| 88 | // native execution is used instead. |
| 89 | func (engine *Engine) IsPulley() bool { |
| 90 | ret := C.wasmtime_engine_is_pulley(engine.ptr()) |
| 91 | runtime.KeepAlive(engine) |
| 92 | return bool(ret) |
| 93 | } |