Skip to content

feat: nixos installed rustfmt basic support #104

@dzmitry-lahoda

Description

@dzmitry-lahoda

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions