fn load_mod(vm: &Thread) -> vm::Result<ExternModule> {
        let module = record! {
            flip => primitive!(1, flip),
        };

        ExternModule::new(vm, module)
    }
// load the type and then the module containing the rust function
load the type and then the module containing the rust function
load the type and then the module containing the rust function
fn load_mod(vm: &Thread) -> vm::Result<ExternModule> {
        let module = record! {
            flip => primitive!(1, flip),
        };
        ExternModule::new(vm, module)
    }
fn load_mod ( vm : & Thread ) -> vm :: Result < ExternModule > { let module = record ! { flip primitive ( 1 flip ) } ; ExternModule :: new ( vm , module ) }
load the type and then the module containing the rust function
load the type and then the module containing the rust function
vm
&Thread