update std lib to new Target API

This commit is contained in:
Andrew Kelley
2020-02-25 03:43:21 -05:00
parent d4f375c46b
commit 87b9e744dd
29 changed files with 281 additions and 261 deletions

View File

@@ -382,7 +382,7 @@ pub fn parseFloat(comptime T: type, s: []const u8) !T {
}
test "fmt.parseFloat" {
if (std.Target.current.isWindows()) {
if (std.Target.current.os.tag == .windows) {
// TODO https://github.com/ziglang/zig/issues/508
return error.SkipZigTest;
}