1 2 3 4 5 6 7 8
extern crate pkg_config; fn main() { match pkg_config::find_library("cairo") { Ok(_) => {}, Err(e) => panic!("{}", e) }; }