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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user