mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
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:
parent
ef2d237f2f
commit
c33cd370fc
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user