I've tried reinstalling Rust and reinstalling the expansion pack I also tried to recreate the project file. However, this error has not been corrected. Why can't I read the Cargo.toml file when it exists?
Asked
Active
Viewed 134 times
0
-
Do you have Rust installed? – Chayim Friedman Jun 26 '22 at 01:01
-
@ChayimFriedman Yes. I installed it by default using the command curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh. – Kim_Wang0906 Jun 26 '22 at 01:07
-
Try to run `cargo --version` in your terminal. – Chayim Friedman Jun 26 '22 at 01:08
-
Cargo 1.61.0 (a028ae4 2022-04-29) works normally. – Kim_Wang0906 Jun 26 '22 at 01:11
-
And if you `cd` into your project directory (`rust_learn`), does it still work? – Chayim Friedman Jun 26 '22 at 01:19
-
Yes, I checked that Cargo build and run are working. However, the expansion pack still does not work – Kim_Wang0906 Jun 26 '22 at 01:23