Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (26 sloc) 795 Bytes
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at */
#[link(name = "cairo",
vers = "0.1")];
#[crate_type = "lib"];
extern mod std;
pub mod cairo;
pub mod cairo_hl;
#[cfg(target_os = "linux")]
pub mod cairo_xlib;
#[cfg(target_os = "linux")]
pub mod cairo_ft;
#[cfg(target_os = "macos")]
pub mod cairo_quartz;
#[link_args = "-L. -lcairo -lpixman-1"]
extern mod linkhack { }
#[cfg(target_os = "linux")]
#[link_args = "-lXrender -lpng -lX11"]
extern mod linkhack_linux { }
#[cfg(target_os = "macos")]
#[link_args = "-framework Foundation -framework ApplicationServices"]
extern mod linkhack_macos { }
Jump to Line
Something went wrong with that request. Please try again.