Skip to content

Commit d671075

Browse files
committed
fix
1 parent 53d638e commit d671075

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/codegen.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,12 @@ impl State {
248248
let display_name = wit_func_name(path, resource, &sig.ident, &kind);
249249
Some(quote! {
250250
{
251-
proxy::util::debug::print(#display_name);
251+
let mut __params: Vec<String> = Vec::new();
252252
#(
253253
let #arg_name: #ty = u.arbitrary().unwrap();
254+
__params.push(wasm_wave::to_string(&ToValue::to_value(&#arg_name)).unwrap());
254255
)*
256+
proxy::util::debug::print(&format!("export: {}({})", #display_name, __params.join(", ")));
255257
let _ = #func(#(#call_param),*);
256258
}
257259
})

0 commit comments

Comments
 (0)