mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std.debug.Coverage: use extern structs
helps the serialization use case
This commit is contained in:
parent
b9fd0eeca6
commit
22925636f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue