added support for Rust functions exported to the VM (thanks to Yurume on rust IRC)