wasm_exec_result
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
8.3
·
8.2
·
8.1
·
8.0
·
7.6
The result of executing a WebAssembly function with
repository_ctx.execute_wasm()
. It contains the function's
return value and output buffer.
If execution failed before the function returned then the return code will be negative
and the error_message
field will be set.
Members
error_message
string wasm_exec_result.error_message
Contains an error message if execution failed before the function returned.
output
string wasm_exec_result.output
The content of the output buffer returned by the WebAssembly function.
return_code
long wasm_exec_result.return_code
The return value of the WebAssembly function, or a negative value if execution
was terminated before the function returned.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-04 UTC.
[null,null,["Last updated 2025-07-04 UTC."],[],[]]