Rebuild Metal glue when headers change
This commit is contained in:
2
build.rs
2
build.rs
@@ -6,7 +6,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let metal = Path::new("native/metal/ds4_metal.m");
|
let metal = Path::new("native/metal/ds4_metal.m");
|
||||||
println!("cargo:rerun-if-changed={}", metal.display());
|
println!("cargo:rerun-if-changed=native/metal");
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
.include("native/metal")
|
.include("native/metal")
|
||||||
.file(metal)
|
.file(metal)
|
||||||
|
|||||||
Reference in New Issue
Block a user