Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 354 Bytes
// pretty-expanded FIXME #23616
#![feature(rustc_private)]
extern crate libc;
#[cfg(target_os = "macos")]
#[link(name = "CoreFoundation", kind = "framework")]
extern {
fn CFRunLoopGetTypeID() -> libc::c_ulong;
}
#[cfg(target_os = "macos")]
pub fn main() {
unsafe { CFRunLoopGetTypeID(); }
}
#[cfg(not(target_os = "macos"))]
pub fn main() {}
You can’t perform that action at this time.