7ddd353ef6
Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
27 lines
331 B
Rust
27 lines
331 B
Rust
|
|
|
|
#[abi = "cdecl"]
|
|
native mod rustrt {
|
|
fn unsupervise();
|
|
}
|
|
|
|
#[abi = "cdecl"]
|
|
#[nolink]
|
|
native mod bar { }
|
|
|
|
#[abi = "cdecl"]
|
|
#[nolink]
|
|
native mod zed { }
|
|
|
|
#[abi = "cdecl"]
|
|
#[nolink]
|
|
native mod libc {
|
|
fn write(fd: int, buf: *u8, count: uint) -> int;
|
|
}
|
|
|
|
#[abi = "cdecl"]
|
|
#[nolink]
|
|
native mod baz { }
|
|
|
|
fn main(args: [str]) { }
|