Skip to content

Commit

Permalink
fix(rsjudge-grpc): 🚨 replace deprecated compile method with `compil…
Browse files Browse the repository at this point in the history
…e_protos`
  • Loading branch information
Jisu-Woniu committed Dec 6, 2024
1 parent 490a0a3 commit bb782d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rsjudge-grpc/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn main() -> anyhow::Result<()> {
configure()
.emit_rerun_if_changed(false)
.bytes(["."])
.compile(&proto_files, &[&proto_out_dir])?;
.compile_protos(&proto_files, &[&proto_out_dir])?;

println!("cargo:rerun-if-changed=proto");

Expand Down

0 comments on commit bb782d6

Please sign in to comment.