Skip to content

build.rs: use rustfmt #2150

@Arjentix

Description

@Arjentix

Right now client/build.rs uses cargo to run cargo fmt. This approach can cause cargo recursion problem (cargo doesn't like to be invoked multiple times from it self) especially when using cargo lints. So we need to use rustfmt instead of cargo fmt.

To replace cargo build inside this script we need to do more work and that's gonna be in another issue

Metadata

Metadata

Assignees

Labels

buildgood first issueGood for newcomersiroha2-devThe re-implementation of a BFT hyperledger in RUST

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions