From c33cd370fc2a9cbb2b417530d8a2205bb94491d3 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 19 Feb 2020 21:55:25 -0500 Subject: fix unit test for Target.parse I think this is working correctly. Without also removing sse2 from the feature set, sse gets added back into the set because sse2 is part of the x86_64 baseline (which is the cpu provided) and sse2 depends on sse. --- lib/std/target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/std') diff --git a/lib/std/target.zig b/lib/std/target.zig index 9d2f3c29eb..951c02d55a 100644 --- a/lib/std/target.zig +++ b/lib/std/target.zig @@ -1258,7 +1258,7 @@ test "Target.parse" { { const target = (try Target.parse(.{ .arch_os_abi = "x86_64-linux-gnu", - .cpu = "x86_64-sse-avx-cx8", + .cpu = "x86_64-sse-sse2-avx-cx8", })).Cross; std.testing.expect(target.os == .linux); -- cgit v1.2.3