MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / IsPulley

Method IsPulley

engine.go:89–93  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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

Callers 1

TestEngineFunction · 0.95

Calls 1

ptrMethod · 0.95

Tested by 1

TestEngineFunction · 0.76