Skip to content

Commit

Permalink
fix: build gRPC server code
Browse files Browse the repository at this point in the history
This will allow the gRPC example to compile.

Fix for scsibug#141
  • Loading branch information
aidik authored and RandyMcMillan committed Jun 27, 2024
1 parent b149b30 commit 09ac3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nauthz/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(false)
.build_server(true)
.protoc_arg("--experimental_allow_proto3_optional")
.compile(&["../../proto/nauthz.proto"], &["../../proto"])?;
Ok(())
Expand Down

0 comments on commit 09ac3c1

Please sign in to comment.