Skip to content

Use core and alloc over std #524

@Jondolf

Description

@Jondolf

As bevyengine/bevy#15281 is getting merged, we should also explore making Avian less dependent on std. This could make it work on less common platforms such as the Nintendo Switch and likely many other consoles, as well as retro devices.

We should try to rely only on core and alloc where possible. To enforce this, we could add the following lints, like in bevyengine/bevy#15281:

  • std_instead_of_core
  • std_instead_of_alloc
  • alloc_instead_of_core

This would be an important step towards no_std support.

I have not yet investigated how challenging this would be to implement or what blockers we may have, but I am opening this to track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions