[go: up one dir, main page]

hdrhistogram 0.1.9

Binding to HdrHistogram_c library
1
2
3
4
5
6
7
8
9
10
11
12
extern crate cmake;

use cmake;

fn main() {
// Builds the project in the directory located in `libfoo`, installing it
// into $OUT_DIR
let dst = cmake::build("HdrHistogram_c");

println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=foo");
}