Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tonic_build unusable without rustfmt #982

Closed
TheBlueMatt opened this issue Apr 26, 2022 · 2 comments
Closed

tonic_build unusable without rustfmt #982

TheBlueMatt opened this issue Apr 26, 2022 · 2 comments

Comments

@TheBlueMatt
Copy link

When trying to compile a project that uses tonic_build to compile protobufs ([1]) on a machine without rustup (i.e. rustfmt is not available) I initially get the "error running rustfmt" error in the build script. I tried disabling default-features and re-enabling the "transport" and "prost" features and building that way, but it doesn't seem to actually compile things when doing that.

It depends on tonic-build version 0.6 for the build-script. The error is platform-independent (at least on Linux).

[1] https://github.com/L2-Technology/sensei/

@TheBlueMatt
Copy link
Author

Looks like this will be resolved once #904 ships.

@davidpdrsn
Copy link
Member

That shipped in tonic-build 0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants