rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 176 forks source link

C-c C-c C-t on a remote (tramp) file invokes cargo test on the local machine #503

Open teythoon opened 9 months ago

teythoon commented 9 months ago

With rust-mode-20230805.1558 from melpa, emacs 28.2 from Debian bookworm, when I'm editing a file over tramp and try to use rust-mode's C-c C-c C-t (or C-c C-c C-u) shortcuts, cargo is invoked on the local machine. In contrast, when I C-x compile cargo test, the right thing happens, i.e. cargo test is invoked on the remote machine over tramp.