Skip to content

Conversation

@Vexu
Copy link
Member

@Vexu Vexu commented Dec 13, 2023

Closes #16344

@Vexu Vexu added breaking Implementing this issue could cause existing code to no longer compile or have different behavior. standard library This issue involves writing Zig code for the standard library. labels Dec 13, 2023
@Vexu Vexu mentioned this pull request Dec 13, 2023
@Vexu Vexu force-pushed the stack branch 2 times, most recently from a4d62f2 to a4a6e49 Compare December 13, 2023 22:45
@Vexu Vexu removed the breaking Implementing this issue could cause existing code to no longer compile or have different behavior. label Dec 14, 2023
@Vexu Vexu changed the title StackFallBackAllocator: remove helper function reduce risk of footgun std.heap: add runtime safety for calling stackFallback(N).get multiple times Dec 14, 2023
@Vexu Vexu changed the title std.heap: add runtime safety for calling stackFallback(N).get multiple times std.heap: add runtime safety for calling stackFallback(N).get multiple times Dec 14, 2023
@andrewrk
Copy link
Member

Nice

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

Labels

standard library This issue involves writing Zig code for the standard library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using StackFallbackAllocator.get() multiple times is a footgun.

3 participants