commit ab56d3e18ca7dbc430fdc2ca51fce08804cc3599 (tree)
parent a391a82e4987728e30bf5c27be5631f9d4db530f
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 21 Feb 2020 11:07:56 -0500
fix std.Target unit tests
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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);