Skip to content

compiler allocation failed #4593

Closed
Closed
@markfirmware

Description

@markfirmware
pub fn main() void {
    line_buffer[0] = 0;
}

var line_buffer: [10 * 1024 * 1024]u8 = undefined;

$
zig build-exe main.zig
allocation failed
Unable to dump stack trace: debug info stripped

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions