mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-15 04:42:51 -06:00
f71dc2b209
This commit updates the resolver package to make the wasmer dependency conditional at build-time. If CGO is enabled then the wasmer dependency will be included. If CGO is not enabled, the wasmer dependency will be excluded and the OPA binary will not be able to run wasm-compiled policies. This allows us to continue building statically linked OPA executables that can be distributed and used. Signed-off-by: Torin Sandall <torinsandall@gmail.com>