Skip to content

Commit

Permalink
[scsibug#141] - Fix Build - Set build_server to true
Browse files Browse the repository at this point in the history
This will allow to compile the gRPC example.

Fix for scsibug#141
  • Loading branch information
aidik authored Aug 7, 2023
1 parent fb751ba commit 7256f96
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 7256f96

Please sign in to comment.