Skip to content

Commit

Permalink
Fix build.rs for private api bin generation (#32)
Browse files Browse the repository at this point in the history
Co-authored-by: sydhds <[email protected]>
  • Loading branch information
sydhds and sydhds authored Dec 12, 2023
1 parent 30b91d7 commit 9187256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ mod tonic {
/// HACK: see docs in [`HttpRuleComment`] ignored in doctest pass",
)
.include_file("_api_includes.rs")
.file_descriptor_set_path("src/api_private.bin")
.out_dir("src/")
.compile(&vec![private_api_path], &proto_include_paths)
.map_err(|e| format!("PRIVATE API protobuf compilation error: {:?}", e))?;
Expand Down

0 comments on commit 9187256

Please sign in to comment.