janhohenheim / foxtrot

The all-in-one Bevy 3D game template for desktop.
Apache License 2.0
608 stars 44 forks source link

How can I use this with stable Rust? #300

Closed ethereumdegen closed 6 months ago

ethereumdegen commented 6 months ago

Please make this work with Rust Stable if possible or let me know how to switch to it if possible !!

Rust nightly is giving me all kinds of issues -- incremental compiler breaking and such

janhohenheim commented 6 months ago

The nightly version is pinned to a working version in the rust toolchain file to prevent just that. Did you remove or overwrite it?

If nightly really doesn't work for you, just change the entry in the toolchain file to say stable and try to compile it. There shouldn't be too many nightly-only features that need fixing.

Also mind that if you use the config described in .cargo/config_fast_builds.toml by renaming it to .cargo/config.toml, it assumes nightly, but has instructions for how it to switch to stable.

Let me know if you run into any issues :)