proxy-wasm / spec

WebAssembly for Proxies (ABI specification)
Apache License 2.0
544 stars 27 forks source link

Make most/all hostcalls optional #56

Open PiotrSikora opened 1 month ago

PiotrSikora commented 1 month ago

Currently, the ABI is enforced at linking time, which means that all hostcalls must be exported by the host. Theoretically, compilers should optimize away the unused hostcalls, but that hasn't be the case, which broke our ability to add new features without releasing new ABI versions.