We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b97e411 commit 6f033d5Copy full SHA for 6f033d5
protobufs/build.rs
@@ -248,11 +248,15 @@ fn main() -> anyhow::Result<()> {
248
.services_same("UtilPrngTransactionBody")
249
.services_same("VirtualAddress");
250
251
+ // disable emitting for the generated proto files
252
cfg.out_dir(&sdk_out_dir).emit_rerun_if_changed(false).compile_protos(
253
&["./sdk/transaction_list.proto"],
254
&["./sdk/", services_tmp_path.as_os_str().to_str().unwrap()],
255
)?;
256
257
+ // check if the "./sdk" folder has changed
258
+ println!("cargo:rerun-if-changed={}", "./sdk");
259
+
260
// see note wrt services.
261
remove_useless_comments(&sdk_out_dir.join("proto.rs"))?;
262
0 commit comments