Skip to content

Commit 032aa2b

Browse files
author
Jakob Lautrup Nysom
committed
Only rerun build.rs if libui is updated
1 parent 2c3ea80 commit 032aa2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use std::fs::{self, File};
77
use std::io::Write;
88

99
fn main() {
10+
println!("cargo:rerun-if-changed=libui");
1011
if !Path::new("libui/.git").exists() {
1112
Command::new("git").args(&["submodule", "update", "--init"]).status().expect("Could not update libui submodule");
1213
}

0 commit comments

Comments
 (0)