coco-sys 0.2.0

Generated Rust bindings for COCO benchmarking framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::Path;

fn main() {
    compile_and_link_coco();
}

fn compile_and_link_coco() {
    let coco_out = Path::new("vendor/coco-prebuilt");

    cc::Build::new()
        .file(coco_out.join("coco.c"))
        .file("wrapper.c")
        .warnings(false)
        .compile("coco");
}