humpback-dds/build.rs

11 lines
240 B
Rust
Raw Normal View History

2020-09-24 23:19:56 +08:00
use std::process::Command;
fn main() {
Command::new("python3")
2024-04-24 21:59:30 +08:00
.arg("fpga/fpga_config.py")
.spawn()
.expect("FPGA bitstream file cannot be built!");
2020-09-24 23:19:56 +08:00
2020-09-25 14:26:28 +08:00
println!("cargo:rerun-if-changed=fpga/fpga_config.py")
2020-09-24 23:19:56 +08:00
}