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

Function TEST

crates/c-api/tests/component/async.cc:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12using wasmtime::Store;
13
14TEST(component_async, config) {
15 Config config;
16 config.wasm_component_model_async(true);
17 config.wasm_component_model_more_async_builtins(true);
18 config.wasm_component_model_async_stackful(true);
19 Engine engine(std::move(config));
20}
21
22TEST(component_async, call_func_async) {
23 static constexpr auto component_text = std::string_view{

Callers

nothing calls this directly

Tested by

no test coverage detected