mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
parent
0912f1d1f9
commit
7829c73ccf
@ -1816,7 +1816,13 @@ pub const TestContext = struct {
|
|||||||
try argv.appendSlice(&.{ "-I", p });
|
try argv.appendSlice(&.{ "-I", p });
|
||||||
}
|
}
|
||||||
} else switch (host.getExternalExecutor(target_info, .{ .link_libc = case.link_libc })) {
|
} else switch (host.getExternalExecutor(target_info, .{ .link_libc = case.link_libc })) {
|
||||||
.native => try argv.append(exe_path),
|
.native => {
|
||||||
|
if (case.backend == .stage2 and case.target.getCpuArch() == .arm) {
|
||||||
|
// https://github.com/ziglang/zig/issues/13623
|
||||||
|
continue :update; // Pass test.
|
||||||
|
}
|
||||||
|
try argv.append(exe_path);
|
||||||
|
},
|
||||||
.bad_dl, .bad_os_or_cpu => continue :update, // Pass test.
|
.bad_dl, .bad_os_or_cpu => continue :update, // Pass test.
|
||||||
|
|
||||||
.rosetta => if (enable_rosetta) {
|
.rosetta => if (enable_rosetta) {
|
||||||
|
@ -81,20 +81,22 @@ const test_targets = blk: {
|
|||||||
.single_threaded = true,
|
.single_threaded = true,
|
||||||
.backend = .stage2_wasm,
|
.backend = .stage2_wasm,
|
||||||
},
|
},
|
||||||
.{
|
// https://github.com/ziglang/zig/issues/13623
|
||||||
.target = .{
|
//.{
|
||||||
.cpu_arch = .arm,
|
// .target = .{
|
||||||
.os_tag = .linux,
|
// .cpu_arch = .arm,
|
||||||
},
|
// .os_tag = .linux,
|
||||||
.backend = .stage2_arm,
|
// },
|
||||||
},
|
// .backend = .stage2_arm,
|
||||||
.{
|
//},
|
||||||
.target = CrossTarget.parse(.{
|
// https://github.com/ziglang/zig/issues/13623
|
||||||
.arch_os_abi = "arm-linux-none",
|
//.{
|
||||||
.cpu_features = "generic+v8a",
|
// .target = CrossTarget.parse(.{
|
||||||
}) catch unreachable,
|
// .arch_os_abi = "arm-linux-none",
|
||||||
.backend = .stage2_arm,
|
// .cpu_features = "generic+v8a",
|
||||||
},
|
// }) catch unreachable,
|
||||||
|
// .backend = .stage2_arm,
|
||||||
|
//},
|
||||||
.{
|
.{
|
||||||
.target = .{
|
.target = .{
|
||||||
.cpu_arch = .aarch64,
|
.cpu_arch = .aarch64,
|
||||||
|
Loading…
Reference in New Issue
Block a user