This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| [dependencies] | |
| wasmer = { version = "4.3.4" } | |
| */ | |
| use wasmer::{Cranelift, Function, Imports, Instance, Module, RuntimeError, Store, Value}; | |
| fn static_return_32_then_64_then_32(lhs: i32, rhs: i32) -> (i32, i64, i32) { | |
| (lhs, lhs as i64 + rhs as i64, rhs) | |
| } |
OlderNewer