Skip to content

(cargo-locate-project) returns 101 over tramp #442

Closed
@Jemoka

Description

@Jemoka

Hi everyone! Thanks so much for the great support for Rust on emacs.

(rust-test) (rust-build) etc. or any other function that calls (cargo-locate-project) fails when called over a file on tramp (remote file access protocol.) This renders rust-mode unable to build with a workflow involving remote files.

Some version info, in case it is necessary:

  1. rust-mode 1.0.2
  2. emacs 28.0.91
  3. host machine: macOS 11.6, rust 1.58.1 (db9d1b20b 2022-01-20)
  4. remote machine: Arch Linux with systemd 249 (249.2-1-arch), rust 1.56.1 (59eed8a2a 2021-11-01)

And here's the error:

rust-buffer-project: ‘cargo locate-project’ returned 101 status: error: could not find `Cargo.toml` in `/Users/houliu` or any parent directory

Thank you very much!

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