After I install zkm toolchain, and connect the repo under remote vscode mode, the rust-analyzer can not finish `cargo check`, the error is: ``` --- stderr [zkm] error: failed to run `rustc` to learn about target-specific information [zkm] [zkm] Caused by: [zkm] process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -C target-cpu=mips32r2 -C target-feature=+crt-static -C link-arg=-nostdlib -C link-arg=-g -C link-arg=--entry=main --target mipsel-zkm-zkvm-elf --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg -Wwarnings` (exit status: 1) [zkm] --- stderr [zkm] error: error loading target specification: could not find specification for target "mipsel-zkm-zkvm-elf" [zkm] | [zkm] = help: run `rustc --print target-list` for a list of built-in targets ``` The root cause is the rustc/cargo is not included in the $PATH. how to fix this?
Activity
qethu commentedon Jan 8, 2026
I guess you need to install our toolchain on remote machines?