Skip to content

Using rustfmt during yocto build #350

Answered by weltling
kevswims asked this question in Q&A
Discussion options

You must be logged in to vote

There's currently no rustfmt on the native side but also it doesn't seem to make sense to have that during the image build. As why would one format some code anyway before compiling it, the only outcome of interest would be the resulting binaries. Also, to produce the tool itself it'd take additional build time as all the toolchain is produced anew (except sstate cache is used).

There's #345 targeting rustfmt availability in the SDK, though. That's where being able to format code would be useful.

Thanks

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kevswims
Comment options

@bernardoaraujor
Comment options

@kevswims
Comment options

@bernardoaraujor
Comment options

@kevswims
Comment options

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