How to use with a build script #115
-
My crate is using tonic for gRPC, and part of that is compiling a I've made a minimal example repo showcasing the error. I'd like to have minimal changes to the non-nix code (or, at least leave it working for developers that don't use nix) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
@justinrubek https://github.com/hyperium/tonic/blob/3e40d819cfbd3d5e4e078b79e3c95a43d14d489e/tonic-build/src/lib.rs#L39 ? Possibly tonic should fail better when it fails to generate the file. I don't think there's an excuse for failing silently. |
Beta Was this translation helpful? Give feedback.
-
@justinrubek Here is a workaround
@ipetkov The reason is that cargo's Very interesting corner case. :D |
Beta Was this translation helpful? Give feedback.
-
Just for posterity, this will be fixed with #122 |
Beta Was this translation helpful? Give feedback.
@justinrubek Here is a workaround