Files
releases/compile
Stephan Renatus 54db358d99 compile/wasm: fix #3270 (#3276)
We now discern:

1. If there's no Wasm ABI version array at all in the capabilities of
   the `opa` binary used to build a Wasm bundle.
2. If the provided capabilities.json contains EMPTY Wasm ABI versions
   array.

(1.) would happen if the binary itself has no support for running the
Wasm module, i.e. it was built without the `opa_wasm` go tag. Anyways,
such a binary is perfactly capable of emitting wasm code, so that's
what we'll allow it to do (with this change).

(2.) still gives you the option to disable building wasm bundles via
capabilities.json, but it's an edge case: usually, you'd use it to
control the ABI versions you're building for. If you want, however,
you can still say "none" by providing an empty array.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2021-03-16 14:19:31 +01:00
..
2021-03-16 14:19:31 +01:00