Skip to content

Commit

Permalink
docs: add the remaining missing doc comment, for the public wasm meth…
Browse files Browse the repository at this point in the history
…ods (#23863)
  • Loading branch information
virus-rpi authored Mar 5, 2025
1 parent ae22bcf commit e467747
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vlib/wasm/tests/common.v
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit e467747

Please sign in to comment.