Skip to content

Allocator::new should be unsafe #160

Description

@i509VCB

Allocator::new should not be safe because there is no guarantee the caller has made sure the ash::Device outlives the allocator.

The AllocatorCreateDesc also needs to be populated so that the instance is the one which created the physical device and the device was created from the physical device.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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