Closed
Description
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:
- rust-mode 1.0.2
- emacs 28.0.91
- host machine: macOS 11.6, rust 1.58.1 (db9d1b20b 2022-01-20)
- 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!