In the Setup page, it is given that the new cargo config file should be located in <game>/.cargo/config.toml. I had a problem where the game would recompile every time i ran it,
My suggestion is to add an extra rust-analyzer setting flag to force it use the new config.toml file.
In settings.json add the "rust-analyzer.cargo.targetDir": true flag to force rust-analyzer.
How can Bevy's documentation be improved?
In the Setup page, it is given that the new cargo config file should be located in
<game>/.cargo/config.toml
. I had a problem where the game would recompile every time i ran it,My suggestion is to add an extra rust-analyzer setting flag to force it use the new
config.toml
file.In
settings.json
add the"rust-analyzer.cargo.targetDir": true
flag to force rust-analyzer.