solana-program-library/themis/client_ristretto/build.rs

15 lines
366 B
Rust

use std::process::Command;
fn main() {
println!("cargo:warning=(not a warning) Building BPF themis program");
Command::new("cargo")
.args(&[
"build-bpf",
"--manifest-path",
"../program_ristretto/Cargo.toml",
])
.status()
.expect("Failed to build BPF themis program")
.success();
}