std.build: Fix typo in LibExeObjStep.runEmulatable's assertion

This commit is contained in:
Sage Hane 2022-08-07 01:17:49 +09:00 committed by Veikka Tuominen
parent b97ae88898
commit f6459721e5

View File

@ -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| {