mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
std.debug.Coverage: use extern structs
helps the serialization use case
This commit is contained in:
parent
b9fd0eeca6
commit
22925636f7
@ -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,
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user