Skip to content

Improve actionability of "resolver = 2" error #2217

@alice-i-cecile

Description

@alice-i-cecile

Bevy users have been getting an error that looks like:

error: DX12 API enabled on non-Windows OS. If your project is not using resolver="2" in Cargo.toml, it should.

This is not very actionable or accessible for new users. Ideally, this error could be made somewhat more verbose to explain how to do this (and mention that they could swap to Rust 2021 instead).

Motivated by bevyengine/bevy#3205

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ecosystemHelp the connected projects grow and prospergood first issueGood for newcomershelp requiredWe need community help to make this happen.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions