Skip to content

slab-alloc: Be exception-safe #5

Open
@joshlf

Description

@joshlf

Currently, the slab allocator is not exception safe - if a user-provided initialization function panics and unwinds, the allocator may be left in an invalid state. We should fix this.

Exception safety in unsafe Rust code is a very subtle thing. A good place to start is The Rustinomicon.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions