Skip to content

Commit 1884cee

Browse files
committed
Update proto build script for 0.35.0
Signed-off-by: Tiago Requeijo <[email protected]>
1 parent 5088387 commit 1884cee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

protobufs/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,14 @@ fn main() -> anyhow::Result<()> {
146146
"crate::services::ConsensusMessageChunkInfo",
147147
)
148148
.out_dir(&mirror_out_dir)
149+
.emit_rerun_if_changed(false)
149150
.compile_protos(
150151
&["./mirror/consensus_service.proto", "./mirror/mirror_network_service.proto"],
151152
&["./mirror/", out_path.to_str().unwrap()],
152153
)?;
153154

155+
println!("cargo:rerun-if-changed={}", "./mirror");
156+
154157
remove_useless_comments(&mirror_out_dir.join("proto.rs"))?;
155158

156159
// sdk

0 commit comments

Comments
 (0)