Commit f6459721e5

Sage Hane <sage@sagehane.com>
2022-08-06 18:17:49
std.build: Fix typo in `LibExeObjStep.runEmulatable`'s assertion
1 parent b97ae88
Changed files (1)
lib
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| {