From f6459721e549e91858edc2e93de398e3e3cae45e Mon Sep 17 00:00:00 2001 From: Sage Hane Date: Sun, 7 Aug 2022 01:17:49 +0900 Subject: [PATCH] std.build: Fix typo in `LibExeObjStep.runEmulatable`'s assertion --- lib/std/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/build.zig b/lib/std/build.zig index b5defc2e9c..57f0d126d8 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -1896,7 +1896,7 @@ pub const LibExeObjStep = struct { /// When a binary cannot be ran through emulation or the option is disabled, a warning /// will be printed and the binary will *NOT* be ran. pub fn runEmulatable(exe: *LibExeObjStep) *EmulatableRunStep { - assert(exe.kind == .exe or exe.kind == .text_exe); + assert(exe.kind == .exe or exe.kind == .test_exe); const run_step = EmulatableRunStep.create(exe.builder.fmt("run {s}", .{exe.step.name}), exe); if (exe.vcpkg_bin_path) |path| {