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

Method execute

src/commands/wizer.rs:39–46  ·  view source on GitHub ↗

Runs the command.

(mut self)

Source from the content-addressed store, hash-verified

37impl WizerCommand {
38 /// Runs the command.
39 pub fn execute(mut self) -> Result<()> {
40 self.run.common.init_logging()?;
41 let runtime = tokio::runtime::Builder::new_multi_thread()
42 .enable_time()
43 .enable_io()
44 .build()?;
45 runtime.block_on(self.execute_async())
46 }
47
48 async fn execute_async(mut self) -> Result<()> {
49 // By default use deterministic relaxed simd operations to guarantee

Callers

nothing calls this directly

Calls 4

init_loggingMethod · 0.80
block_onMethod · 0.80
execute_asyncMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected