Skip to content

Commit ade38d4

Browse files
committedFeb 1, 2024
tonic_build::compile_protos() automatically prints rerun-if-changed
1 parent 09cfec2 commit ade38d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎mullvad-management-interface/build.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
fn main() {
2-
const PROTO_FILE: &str = "proto/management_interface.proto";
3-
tonic_build::compile_protos(PROTO_FILE).unwrap();
4-
println!("cargo:rerun-if-changed={PROTO_FILE}");
2+
tonic_build::compile_protos("proto/management_interface.proto").unwrap();
53
}

0 commit comments

Comments
 (0)