mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
a1f7e30b9d
This commit plumbs the print hook through to the wasm runtime so that print calls are enabled when the wasm target is on. This commit also updates the planner and compiler to support calls to void functions--previously, the planner and wasm backend assumed that functions returned values so they would perform checks for defined values, however, with void functions, those checks must be suppressed. Signed-off-by: Torin Sandall <torinsandall@gmail.com>