mirror of
https://github.com/vlang/v.git
synced 2025-08-04 02:07:28 -04:00
docs: add the remaining missing doc comment, for the public wasm methods (#23863)
This commit is contained in:
parent
ae22bcfad9
commit
e467747fe4
@ -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`')
|
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) ! {
|
pub fn validate(code []u8) ! {
|
||||||
println('validating using: ${wasm_validate_exe}')
|
println('validating using: ${wasm_validate_exe}')
|
||||||
outfile := os.join_path(os.temp_dir(), 'code_${pid}.wasm')
|
outfile := os.join_path(os.temp_dir(), 'code_${pid}.wasm')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user