Skip to content

Can't seem to build latest code #2093

Answered by abernix
meetsubhojit asked this question in Q&A
Discussion options

You must be logged in to vote

It appears that something in OpenTelemetry's build dependencies is calling either cargo fmt or rustfmt (directly). The command seems to indicate that rustfmt doesn't exist on your machine. I would love to have a better error message around this or documentation, but I'm not sure where it's coming from precisely.

To unblock you though, does running the following command — and then trying a new build — fix this for you?

rustup component add rustfmt

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@meetsubhojit
Comment options

Answer selected by meetsubhojit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants