diff --git a/__wasm/wit-bindgen-sample/container/src/main.rs b/__wasm/wit-bindgen-sample/container/src/main.rs index 3aee21d..730aa66 100644 --- a/__wasm/wit-bindgen-sample/container/src/main.rs +++ b/__wasm/wit-bindgen-sample/container/src/main.rs @@ -1,9 +1,11 @@ extern crate core; use std::time::SystemTime; + use anyhow::Result; use serde_json::Value; use wasmtime::{Config, Engine, Instance, Linker, Module, Store}; + use crate::fn_common::FnResult; mod fn_common; @@ -55,7 +57,7 @@ fn main() -> Result<()> { console.log('query: ' + 'print_request.action'); a.push(fetch('https://hatter.ink/util/print_request.action', { headers: { - 'Test-Header': 'this is a test header' + 'Test-Header': 'this is a test header', } })); // a.push(fetch('https://hatter.ink/ip.action'));