mod spam { fn ham() { } fn eggs() { } } #[abi = "cdecl"] native mod rustrt { import spam::{ham, eggs}; export ham; export eggs; } fn main() { rustrt::ham(); rustrt::eggs(); }