Skip to content

rust-mode doesn't find rustfmt by default #450

Open
@GaryBlackbourne

Description

@GaryBlackbourne

I have installed rust following the guide on rusts website, and installed rust-mode through melpa. When I put the autoformat on save hook into my .emacs file, it failed to find rustfmt in my ~/.cargo/bin directory even if this is part of my PATH variable.

I fixed this with creating a simlink in my /usr/local/bin directory, and now, it seems to work. I think it might be good to add this to README or otherwise make it work with default install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions