From ab56d3e18ca7dbc430fdc2ca51fce08804cc3599 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 21 Feb 2020 11:07:56 -0500 Subject: fix std.Target unit tests --- lib/std/target.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/std') diff --git a/lib/std/target.zig b/lib/std/target.zig index 875ccda57f..a341fb3977 100644 --- a/lib/std/target.zig +++ b/lib/std/target.zig @@ -1262,7 +1262,7 @@ test "Target.parse" { { const target = (try Target.parse(.{ .arch_os_abi = "x86_64-linux-gnu", - .cpu = "x86_64-sse-sse2-avx-cx8", + .cpu_features = "x86_64-sse-sse2-avx-cx8", })).Cross; std.testing.expect(target.os == .linux); @@ -1277,7 +1277,7 @@ test "Target.parse" { { const target = (try Target.parse(.{ .arch_os_abi = "arm-linux-musleabihf", - .cpu = "generic+v8a", + .cpu_features = "generic+v8a", })).Cross; std.testing.expect(target.os == .linux); -- cgit v1.2.3