6f5853f5a1
- Move io, run and rand to core. - Remove incorrect ctypes module (use libc). - Remove os-specific modules for os and fs. - Split fs between core::path and core::os.
28 lines
374 B
Rust
28 lines
374 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: core::libc::size_t) -> core::libc::ssize_t;
|
|
}
|
|
|
|
#[abi = "cdecl"]
|
|
#[nolink]
|
|
native mod baz { }
|
|
|
|
fn main(args: [str]) { }
|