RUST errors due to outdated version | IDE

I haven't used IDE for a while and today, when i opened to do something, it was throwing me multiple errors.

Error 1 : error: Found argument '--filter-platform' which wasn't expected, or isn't valid in this context

The rust-analyzer invokes the command cargo metadata with the flag --filter-platform. This flag was added in Rust 1.41.0. The older versions will give the following error.

C:/.cargo/bin/cargo.exe metadata --verbose --format-version 1 --all-features --filter-platform x86_64-pc-windows-ms...

 •  0 comments  •  flag
Share on Twitter
Published on May 13, 2023 23:13
No comments have been added yet.