Describe the issue
Enhancements for the Windows target in Getting Started > Setup are incorrect and lead to failed compiles.
Proposed Solution
There are three major problems I ran into while troubleshooting this I needed to resolve before getting to a successful build.
sccache has a bug with the current latest version 0.17.0
mozilla/sccache#2397
- nightly
share-generics advice is backwards (or at least doesn't have a cutout for Windows developers), but it is correct in the example file link
bevyengine/bevy#2016
https://github.com/bevyengine/bevy/blob/b56fc29d3016e641754765244b5ba3f9cc504671/.cargo/config_fast_builds.toml#L134-L158
- there's an issue with the nightly trait solver that I was informed on Discord should be temporary, but I still wanted to mention here as well
bevyengine/bevy#25511
Additional Information (optional)
I fixed these by disabling share-generics, setting next-solver to coherence, and installing sccache@0.16.0.
Describe the issue
Enhancements for the Windows target in
Getting Started > Setupare incorrect and lead to failed compiles.Proposed Solution
There are three major problems I ran into while troubleshooting this I needed to resolve before getting to a successful build.
sccachehas a bug with the current latest version0.17.0mozilla/sccache#2397
share-genericsadvice is backwards (or at least doesn't have a cutout for Windows developers), but it is correct in the example file linkbevyengine/bevy#2016
https://github.com/bevyengine/bevy/blob/b56fc29d3016e641754765244b5ba3f9cc504671/.cargo/config_fast_builds.toml#L134-L158
bevyengine/bevy#25511
Additional Information (optional)
I fixed these by disabling share-generics, setting next-solver to coherence, and installing sccache@0.16.0.