1 2 3 4 5 6 7 8 9 10 11
// `declare_module!` names its module. mod m { use arora_module::{declare_module, export}; #[export(id = "5e1f0000-0000-4000-8000-000000000001")] pub fn f() {} declare_module! { id = "5e1f0000-0000-4000-8000-000000000064", exports = [f] } } fn main() {}