Skip to content

unique_components allows read access to !Sync resources from any thread #6282

Closed
@james7132

Description

Archetype::unique_components allows access to read any !Sync resource from any arbitrary thread. This allows for aliasing accesses to these resources given a &World. This is unsound.

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-BugAn unexpected or incorrect behaviorP-UnsoundA bug that results in undefined compiler behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions