Skip to content

Allocgate missing runtime-known alignment functions #10348

@silversquirl

Description

@silversquirl

To quote @andrewrk on #10112:

[...] I agree that this use case will need to continue to be supported - runtime-known alignment.

However, the new allocator interface does not feature any high-level functions to support this. Ideally there would be a reallocAdvancedWithRetAddrRuntimeAlignment (though that name is rather unwieldy).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.regressionIt worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions