Skip to content

Commit f645972

Browse files
sagehaneVexu
authored andcommitted
std.build: Fix typo in LibExeObjStep.runEmulatable's assertion
1 parent b97ae88 commit f645972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ pub const LibExeObjStep = struct {
18961896
/// When a binary cannot be ran through emulation or the option is disabled, a warning
18971897
/// will be printed and the binary will *NOT* be ran.
18981898
pub fn runEmulatable(exe: *LibExeObjStep) *EmulatableRunStep {
1899-
assert(exe.kind == .exe or exe.kind == .text_exe);
1899+
assert(exe.kind == .exe or exe.kind == .test_exe);
19001900

19011901
const run_step = EmulatableRunStep.create(exe.builder.fmt("run {s}", .{exe.step.name}), exe);
19021902
if (exe.vcpkg_bin_path) |path| {

0 commit comments

Comments
 (0)