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

feat: nixos installed rustfmt basic support #104

Open
dzmitry-lahoda opened this issue Mar 7, 2024 · 1 comment
Open

feat: nixos installed rustfmt basic support #104

dzmitry-lahoda opened this issue Mar 7, 2024 · 1 comment

Comments

@dzmitry-lahoda
Copy link

I use nix to install rustfmt,

so assume to support default installed rustfmt can just try to search path for rustfmt binary.

So

fn which_rustfmt() -> Option<PathBuf> {

will be

  1. env
  2. rustup
  3. PATH

search

@ahl
Copy link
Collaborator

ahl commented Mar 7, 2024

Would welcome a PR.

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

No branches or pull requests

2 participants