From e467747fe41548209a5727cd8f179cae3fc58d0c Mon Sep 17 00:00:00 2001 From: Noa Santo <72336443+virus-rpi@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:23:35 +0100 Subject: [PATCH] docs: add the remaining missing doc comment, for the public wasm methods (#23863) --- vlib/wasm/tests/common.v | 1 + 1 file changed, 1 insertion(+) diff --git a/vlib/wasm/tests/common.v b/vlib/wasm/tests/common.v index 04c504b14b..b56f8ea15e 100644 --- a/vlib/wasm/tests/common.v +++ b/vlib/wasm/tests/common.v @@ -24,6 +24,7 @@ fn find_wasm_validate() !string { return error('could not find wasm-validate executable in thirdparty/ as well, try first `v run cmd/tools/install_wabt.vsh`') } +// validate validates the given wasm code using `wasm-validate` executable. pub fn validate(code []u8) ! { println('validating using: ${wasm_validate_exe}') outfile := os.join_path(os.temp_dir(), 'code_${pid}.wasm')