The WasmRuntime trait already does this, and nothing in the function translator requires the environment trait object to be non-mutable.
The WasmRuntime trait already does this, and nothing in the function translator requires the environment trait object to be non-mutable.