std.debug.Coverage: use extern structs

helps the serialization use case
This commit is contained in:
Andrew Kelley 2024-08-04 15:26:18 -07:00
parent b9fd0eeca6
commit 22925636f7

View file

@ -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,