mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 20:24:31 +00:00
agent/protocols: Remove cargo:rerun-if-changed in build.rs
So that the build.rs will be re-runed if any file within the package is changed. Signed-off-by: Tim Zhang <tim@hyper.sh>
This commit is contained in:
parent
2c42be0ca6
commit
947913f6e5
@ -15,11 +15,6 @@ fn main() {
|
||||
"protos/oci.proto",
|
||||
];
|
||||
|
||||
// Tell Cargo that if the .proto files changed, to rerun this build script.
|
||||
protos
|
||||
.iter()
|
||||
.for_each(|p| println!("cargo:rerun-if-changed={}", p));
|
||||
|
||||
Codegen::new()
|
||||
.out_dir("src")
|
||||
.inputs(&protos)
|
||||
|
Loading…
Reference in New Issue
Block a user