| ... | @@ -3360,7 +3360,7 @@ pub fn loadFile(arena: Allocator, io: Io, file: Io.File) LoadFileError!Configura | ... | @@ -3360,7 +3360,7 @@ pub fn loadFile(arena: Allocator, io: Io, file: Io.File) LoadFileError!Configura |
| 3360 | pub const LoadError = Io.Reader.Error || Allocator.Error; | 3360 | pub const LoadError = Io.Reader.Error || Allocator.Error; |
| 3361 | | 3361 | |
| 3362 | pub fn load(arena: Allocator, reader: *Io.Reader) LoadError!Configuration { | 3362 | pub fn load(arena: Allocator, reader: *Io.Reader) LoadError!Configuration { |
| 3363 | const header = try reader.takeStruct(Header, .little); | 3363 | const header = try reader.takeStruct(Header, .native); |
| 3364 | const result: Configuration = .{ | 3364 | const result: Configuration = .{ |
| 3365 | .string_bytes = try arena.alloc(u8, header.string_bytes_len), | 3365 | .string_bytes = try arena.alloc(u8, header.string_bytes_len), |
| 3366 | .steps = try arena.alloc(Step, header.steps_len), | 3366 | .steps = try arena.alloc(Step, header.steps_len), |