| ... | @@ -923,7 +923,7 @@ fn runCommand( | ... | @@ -923,7 +923,7 @@ fn runCommand( |
| 923 | const need_cross_glibc = exe.rootModuleTarget().isGnuLibC() and | 923 | const need_cross_glibc = exe.rootModuleTarget().isGnuLibC() and |
| 924 | exe.is_linking_libc; | 924 | exe.is_linking_libc; |
| 925 | const other_target = exe.root_module.resolved_target.?.result; | 925 | const other_target = exe.root_module.resolved_target.?.result; |
| 926 | switch (std.zig.system.getExternalExecutor(b.host.result, &other_target, .{ | 926 | switch (std.zig.system.getExternalExecutor(b.graph.host.result, &other_target, .{ |
| 927 | .qemu_fixes_dl = need_cross_glibc and b.glibc_runtimes_dir != null, | 927 | .qemu_fixes_dl = need_cross_glibc and b.glibc_runtimes_dir != null, |
| 928 | .link_libc = exe.is_linking_libc, | 928 | .link_libc = exe.is_linking_libc, |
| 929 | })) { | 929 | })) { |
| ... | @@ -996,7 +996,7 @@ fn runCommand( | ... | @@ -996,7 +996,7 @@ fn runCommand( |
| 996 | .bad_dl => |foreign_dl| { | 996 | .bad_dl => |foreign_dl| { |
| 997 | if (allow_skip) return error.MakeSkipped; | 997 | if (allow_skip) return error.MakeSkipped; |
| 998 | | 998 | |
| 999 | const host_dl = b.host.result.dynamic_linker.get() orelse "(none)"; | 999 | const host_dl = b.graph.host.result.dynamic_linker.get() orelse "(none)"; |
| 1000 | | 1000 | |
| 1001 | return step.fail( | 1001 | return step.fail( |
| 1002 | \\the host system is unable to execute binaries from the target | 1002 | \\the host system is unable to execute binaries from the target |
| ... | @@ -1008,7 +1008,7 @@ fn runCommand( | ... | @@ -1008,7 +1008,7 @@ fn runCommand( |
| 1008 | .bad_os_or_cpu => { | 1008 | .bad_os_or_cpu => { |
| 1009 | if (allow_skip) return error.MakeSkipped; | 1009 | if (allow_skip) return error.MakeSkipped; |
| 1010 | | 1010 | |
| 1011 | const host_name = try b.host.result.zigTriple(b.allocator); | 1011 | const host_name = try b.graph.host.result.zigTriple(b.allocator); |
| 1012 | const foreign_name = try exe.rootModuleTarget().zigTriple(b.allocator); | 1012 | const foreign_name = try exe.rootModuleTarget().zigTriple(b.allocator); |
| 1013 | | 1013 | |
| 1014 | return step.fail("the host system ({s}) is unable to execute binaries from the target ({s})", .{ | 1014 | return step.fail("the host system ({s}) is unable to execute binaries from the target ({s})", .{ |
| ... | @@ -1564,7 +1564,7 @@ fn failForeign( | ... | @@ -1564,7 +1564,7 @@ fn failForeign( |
| 1564 | return error.MakeSkipped; | 1564 | return error.MakeSkipped; |
| 1565 | | 1565 | |
| 1566 | const b = run.step.owner; | 1566 | const b = run.step.owner; |
| 1567 | const host_name = try b.host.result.zigTriple(b.allocator); | 1567 | const host_name = try b.graph.host.result.zigTriple(b.allocator); |
| 1568 | const foreign_name = try exe.rootModuleTarget().zigTriple(b.allocator); | 1568 | const foreign_name = try exe.rootModuleTarget().zigTriple(b.allocator); |
| 1569 | | 1569 | |
| 1570 | return run.step.fail( | 1570 | return run.step.fail( |