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.
This commit is contained in:
Andrew Kelley 2020-02-19 21:55:25 -05:00
parent ef2d237f2f
commit c33cd370fc
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -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);