ckb-vm-pprof-protos 1.0.0

Crate for generating Rust definitions from pprof proto
1
2
3
4
5
6
7
8
9
10
extern crate protobuf_codegen;

fn main() {
    let mut codegen = protobuf_codegen::Codegen::new();
    #[cfg(target_os = "linux")]
    {
        codegen.protoc_path(&protoc_bin_vendored::protoc_bin_path().unwrap());
    }
    codegen.out_dir("src").inputs(&["protos/profile.proto"]).include("protos").run().expect("protoc");
}