Skip to content

Commit

Permalink
chore: Fix deprecated method usage in example (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
spencewenski authored Sep 27, 2024
1 parent d2288ed commit 611306f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/full/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
tonic_build::configure()
.file_descriptor_set_path(out_dir.join("helloworld_descriptor.bin"))
.compile(&["proto/helloworld.proto"], &["proto"])
.compile_protos(&["proto/helloworld.proto"], &["proto"])
.unwrap();
}

Expand Down

0 comments on commit 611306f

Please sign in to comment.