diff --git a/lib/std/debug/Coverage.zig b/lib/std/debug/Coverage.zig index d9cc7fdebd..f341efaffb 100644 --- a/lib/std/debug/Coverage.zig +++ b/lib/std/debug/Coverage.zig @@ -65,7 +65,7 @@ pub const String = enum(u32) { }; }; -pub const SourceLocation = struct { +pub const SourceLocation = extern struct { file: File.Index, line: u32, column: u32, @@ -77,7 +77,7 @@ pub const SourceLocation = struct { }; }; -pub const File = struct { +pub const File = extern struct { directory_index: u32, basename: String,