wasm: add benchmark, rip out lazy_static

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-04-09 19:35:45 -04:00
parent f728779c08
commit d0d49a4d3c
5 changed files with 59 additions and 30 deletions
+2
View File
@@ -111,6 +111,8 @@ func (r *Runner) dataPtr(ctx context.Context) (uint32, error) {
return 0, err
}
fmt.Printf("data pointer: 0x%x\n", results[0])
return uint32(results[0]), nil
}