mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
docs: add the remaining missing doc comment, for the public wasm methods (#23863)
This commit is contained in:
parent
ae22bcfad9
commit
e467747fe4
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue