mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
update test to newer API
This commit is contained in:
parent
7e3bb00a0e
commit
4bc893c346
@ -754,7 +754,7 @@ test "CrossTarget.parse" {
|
||||
});
|
||||
|
||||
std.testing.expect(cross_target.cpu_arch.? == .aarch64);
|
||||
std.testing.expect(cross_target.cpu_model == null);
|
||||
std.testing.expect(cross_target.cpu_model == .native);
|
||||
}
|
||||
{
|
||||
const cross_target = try CrossTarget.parse(.{ .arch_os_abi = "native" });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user