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

Problem: just format and lint doesn't use the new rustfmt.toml configuration #574

Closed
trevorbernard opened this issue Mar 8, 2024 · 1 comment · Fixed by #600
Closed
Assignees
Labels
Enhancement Enhancement to an existing feature

Comments

@trevorbernard
Copy link
Contributor

No description provided.

@trevorbernard
Copy link
Contributor Author

This isn't an issue.

jhult added a commit to jhult/mina-indexer that referenced this issue Mar 13, 2024
Fixes Granola-Team#574

Nix environment has rustfmt nightly and won't work with +nightly. Non-Nix environment needs nightly toolchain installed and requires +nightly.

I ended up checking the rustfmt version instead of checking to see if we are inside the Nix environment. However, I'm leaving a related regarding determining if inside a Nix environment: NixOS/nix#6677
jhult added a commit to jhult/mina-indexer that referenced this issue Mar 13, 2024
Fixes Granola-Team#574

Nix environment has rustfmt nightly and won't work with +nightly. Non-Nix environment needs nightly toolchain installed and requires +nightly.

I ended up checking the rustfmt version instead of checking to see if we are inside the Nix environment. However, I'm leaving related reading about how to determine if inside a Nix environment: NixOS/nix#6677
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhancement to an existing feature
Projects
Archived in project
1 participant