shared_fn is used to define a function that will be exported by a plugin but is not directly
callable by an Extism runtime. These functions can be used for runtime linking and mocking host
functions for tests. If direct access to Wasm native parameters is needed, then a bare
extern "C" fn should be used instead.