Skip to content

Commit

Permalink
surfacing failures of protobuf generation
Browse files Browse the repository at this point in the history
thanks lukipuki

Co-authored-by: Lukáš Poláček <[email protected]>
  • Loading branch information
clayrosenthal and lukipuki committed Jan 30, 2025
1 parent e8467aa commit 9de321d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
fn main() -> std::io::Result<()> {
#[cfg(feature = "gen")]
{
let _ = generate_protobufs();
}
Ok(())
{ generate_protobufs() }
#[cfg(not(feature = "gen"))]
{ Ok(()) }
}

#[cfg(feature = "gen")]
Expand Down

0 comments on commit 9de321d

Please sign in to comment.