| ... | ... | @@ -11,7 +11,7 @@ pub const Timetype = struct { |
| 11 | 11 | flags: u8, |
| 12 | 12 | name_data: [6:0]u8, |
| 13 | 13 | |
| 14 | | pub fn name(self: Timetype) [:0]const u8 { |
| 14 | pub fn name(self: *const Timetype) [:0]const u8 { |
| 15 | 15 | return std.mem.sliceTo(self.name_data[0..], 0); |
| 16 | 16 | } |
| 17 | 17 | |
| ... | ... | @@ -214,7 +214,6 @@ pub const Tz = struct { |
| 214 | 214 | }; |
| 215 | 215 | |
| 216 | 216 | test "slim" { |
| 217 | | if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO |
| 218 | 217 | const data = @embedFile("tz/asia_tokyo.tzif"); |
| 219 | 218 | var in_stream = std.io.fixedBufferStream(data); |
| 220 | 219 | |
| ... | ... | @@ -228,7 +227,6 @@ test "slim" { |
| 228 | 227 | } |
| 229 | 228 | |
| 230 | 229 | test "fat" { |
| 231 | | if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO |
| 232 | 230 | const data = @embedFile("tz/antarctica_davis.tzif"); |
| 233 | 231 | var in_stream = std.io.fixedBufferStream(data); |
| 234 | 232 | |
| ... | ... | @@ -241,7 +239,6 @@ test "fat" { |
| 241 | 239 | } |
| 242 | 240 | |
| 243 | 241 | test "legacy" { |
| 244 | | if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO |
| 245 | 242 | // Taken from Slackware 8.0, from 2001 |
| 246 | 243 | const data = @embedFile("tz/europe_vatican.tzif"); |
| 247 | 244 | var in_stream = std.io.fixedBufferStream(data); |