use hyperlight_host::SandboxBuilder;
use hyperlight_testing::simple_guest_as_pathbuf;
fn main() {
let path = simple_guest_as_pathbuf();
let mut sbox = SandboxBuilder::from_file(path).build().unwrap();
let res: String = sbox.call("Echo", "hello".to_string()).unwrap();
println!("got Echo res: {res}");
let res: i32 = sbox.call("CallMalloc", 200_i32).unwrap();
println!("got CallMalloc res: {res}");
}