arora-module 2.1.0

Write an Arora module in Rust: the declaration macros and the traits they implement.
1
2
3
4
5
6
7
8
// Two functions of one module cannot share a name.
#[arora_module::module(id = "5e1f0000-0000-4000-8000-000000000064")]
pub mod m {
    #[export(id = "5e1f0000-0000-4000-8000-000000000001")] pub fn f() {}
    #[export(id = "5e1f0000-0000-4000-8000-000000000002", name = "f")] pub fn g() {}
}

fn main() {}