]>
Commit | Line | Data |
---|---|---|
c34b1796 AL |
1 | // pretty-expanded FIXME #23616 |
2 | ||
0731742a | 3 | #![feature(rustc_private)] |
c34b1796 | 4 | |
1a4d82fc | 5 | extern crate libc; |
223e47cc | 6 | |
1a4d82fc JJ |
7 | #[cfg(target_os = "macos")] |
8 | #[link(name = "CoreFoundation", kind = "framework")] | |
5869c6ff | 9 | extern "C" { |
1a4d82fc JJ |
10 | fn CFRunLoopGetTypeID() -> libc::c_ulong; |
11 | } | |
12 | ||
13 | #[cfg(target_os = "macos")] | |
223e47cc | 14 | pub fn main() { |
5869c6ff XL |
15 | unsafe { |
16 | CFRunLoopGetTypeID(); | |
17 | } | |
223e47cc | 18 | } |
1a4d82fc JJ |
19 | |
20 | #[cfg(not(target_os = "macos"))] | |
21 | pub fn main() {} |