2011-08-13 17:20:11 -05:00
|
|
|
/*
|
|
|
|
Can we bind native things?
|
|
|
|
*/
|
|
|
|
|
2011-11-16 22:49:38 -06:00
|
|
|
#[abi = "cdecl"]
|
|
|
|
native mod rustrt {
|
2012-03-12 22:04:27 -05:00
|
|
|
fn rand_new() -> *libc::c_void;
|
2011-08-13 17:20:11 -05:00
|
|
|
}
|
|
|
|
|
2012-02-03 02:34:42 -06:00
|
|
|
fn main() { bind rustrt::rand_new(); }
|