We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e15a0c7 commit 2799625Copy full SHA for 2799625
core/src/utilities.zig
@@ -40,7 +40,7 @@ pub inline fn initialize_system_memories(which: enum {
40
@memset(bss_start[0..bss_len], 0);
41
}
42
43
- if (@hasDecl(microzig.hal, "extra_ram_load_sections")) {
+ if (microzig != void and @hasDecl(microzig.hal, "extra_ram_load_sections")) {
44
inline for (microzig.hal.extra_ram_load_sections) |section_name| {
45
const section = struct {
46
const start = @extern(*anyopaque, .{ .name = std.fmt.comptimePrint("microzig_{s}_start", .{section_name}) });
0 commit comments