Skip to content

First time setup issues on Windows following optimization recommendations #2571

Description

@morsley

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.

  1. sccache has a bug with the current latest version 0.17.0

mozilla/sccache#2397

  1. 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

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions