bevyengine / bevy-website

The source files for the official Bevy website
https://bevyengine.org
MIT License
198 stars 342 forks source link

VSCode, Rust-analyzer recompiling issue in Bevy 0.13.2 #1158

Open SnappierSoap318 opened 6 months ago

SnappierSoap318 commented 6 months ago

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.

james7132 commented 6 months ago

This might need to be moved to the website repo instead, since that's where the introduction/book is kept.