14 lines
197 B
Rust
14 lines
197 B
Rust
mod spam {
|
|
fn ham() { }
|
|
fn eggs() { }
|
|
}
|
|
|
|
#[abi = "cdecl"]
|
|
extern mod rustrt {
|
|
import spam::{ham, eggs};
|
|
export ham;
|
|
export eggs;
|
|
}
|
|
|
|
fn main() { rustrt::ham(); rustrt::eggs(); }
|