Replies: 1 comment
-
The generated files should be platform-independent. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋!
Thanks for the crate, we are using it our Parsec project and really liking it.
This is more a question than a problem. To remove the dependency on
protoc
at build time, we were thinking of pre-generating all Rust files from our Protobuf files (usingprost_build
) and storing them in tree (issue for reference).The main question if we do that is if we need to generate one set of files per Rust target or if that's fine just doing it once for all targets.
To me it seems that the generated file would not contain any platform specific code so that would be ok. I was not totally sure so wondering if anyone would know more about that!
Beta Was this translation helpful? Give feedback.
All reactions