flatpak-stable 42.1: rustc not found
Selected command-line application in Rust. Builder can't find rustc or rust-analyzer from host
The output in terminal:
16:32:17.5200 ide-lsp-client[ 2]: WARNING: rust-analyzer failed to load workspace: Failed to read Cargo metadata from Cargo.toml file /home/mhmd/Projects/GNOME/1/ex-application/Cargo.toml, cargo 1.62.1 (a748cf5a3 2022-06-08): Failed to run `"/home/mhmd/.cargo/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/home/mhmd/Projects/GNOME/1/ex-application/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu"`: `cargo metadata` exited with an error: error: could not execute process `rustc -vV` (never executed)
Caused by:
No such file or directory (os error 2)
I had to manually add PATH in build environment and it did work. However, it worked in Nightly without any hacks
Actually, the run button isn't working properly. It's not running the updated code, nor is the build button working properly
Edited by mazahs xyz