blob: 51cd4ea49846bcecc2efafa02f146980b4abd1d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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(); }
|