11 lines
236 B
Rust
11 lines
236 B
Rust
|
use std::process::Command;
|
||
|
|
||
|
fn main() {
|
||
|
Command::new("python3")
|
||
|
.arg("migen/fpga_config.py")
|
||
|
.spawn()
|
||
|
.expect("FPGA bitstream file cannot be built!");
|
||
|
|
||
|
println!("cargo:rerun-if-changed=migen/fpga_config.py")
|
||
|
}
|