MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / Engine

Method Engine

crates/c-api/include/wasmtime/engine.hh:29–29  ·  view source on GitHub ↗

\brief Creates an engine with default compilation settings.

Source from the content-addressed store, hash-verified

27
28 /// \brief Creates an engine with default compilation settings.
29 Engine() : ptr(wasm_engine_new()) {}
30 /// \brief Creates an engine with the specified compilation settings.
31 explicit Engine(Config config)
32 : ptr(wasm_engine_new_with_config(config.capi_release())) {}

Callers

nothing calls this directly

Calls 3

wasm_engine_newFunction · 0.85
capi_releaseMethod · 0.80

Tested by

no test coverage detected