Description
I'm trying to create a plugin using proxy-wasm-rust-sdk which will run inside a proxy-wasm-go-host.
My plugin fails to initialize due to missing imports (not provided by the Go host).
These missing imports are not a part of the ABI spec as it appears here
They include the following functions:
proxy_clear_route_cache
proxy_continue_request
proxy_continue_response
proxy_get_configuration
proxy_send_local_response
I understand these functions are a part of Envoy specifically, but not a part of the ABI.
I propose that any such function which isn't part of the ABI will be excludable using the Rust conditional compilation feature, e.g. by having an envoy
feature (to opt-in all envoy-specific functions) or a abi-x.y.z
feature (to opt-out any function which doesn't comply with this ABI version).
(If accepted and some implementation guidelines are provided, then I can issue a PR)