The default Rust Analyzer target directory is called target
which conflicts with the name used when cargo build
is run.
How can I change the target directory from target
to some other name?
Go to Rust Analyzer Extension Settings, search for args.
Add the following two values:
--target-dir
target-rust-analyzer