Skip to content

Commit 010768a

Browse files
committed
fix: change linked print signature
1 parent db7040b commit 010768a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clarity/src/vm/clarity_wasm.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5546,7 +5546,12 @@ fn link_print_fn(linker: &mut Linker<ClarityWasmContext>) -> Result<(), Error> {
55465546
.func_wrap(
55475547
"clarity",
55485548
"print",
5549-
|mut caller: Caller<'_, ClarityWasmContext>, value_offset: i32, value_length: i32| {
5549+
|mut caller: Caller<'_, ClarityWasmContext>,
5550+
value_offset: i32,
5551+
value_length: i32,
5552+
_serialized_ty_offset: i32,
5553+
_serialized_ty_length: i32| {
5554+
// NOTE: _serialized_ty_offset and _serialized_ty_length are used in `stacks-network/clarity-wasm`, here we only care about the function stub
55505555
// runtime_cost(ClarityCostFunction::Print, env, input.size())?;
55515556

55525557
// Get the memory from the caller

0 commit comments

Comments
 (0)