extern crate contract; extern "Rust" { pub fn __eosio_generate_abi() -> String; } fn main() -> Result<(), std::io::Error> { let abi = unsafe { __eosio_generate_abi() }; print!("{}", abi); Ok(()) }