Skip to content

Fix CI format check #1645

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

Closed
MaxVerevkin opened this issue Oct 17, 2022 · 0 comments
Closed

Fix CI format check #1645

MaxVerevkin opened this issue Oct 17, 2022 · 0 comments

Comments

@MaxVerevkin
Copy link
Collaborator

Apparently cargo fmt (and cargo fmt --check) doesn't work on blocks' files because their mod <module> is defined inside of a macro. This is a known limitation of cargo fmt: rust-lang/rustfmt#4078

I guess the CI should run something like rustfmt --check --edition 2021 $(fd -e rs) instead of cargo fmt --check?

Originally posted by @MaxVerevkin in #1644 (comment)

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

No branches or pull requests

1 participant