fix single build with rust in ci

This commit is contained in:
Muki Kiboigo
2025-12-22 10:41:22 -08:00
parent 596ee82a52
commit c9f6cb7520
2 changed files with 3 additions and 7 deletions

View File

@@ -211,7 +211,7 @@ fn addDependencies(b: *Build, mod: *Build.Module, opts: *Build.Step.Options, pre
const html5ever_exec_cargo = b.addSystemCommand(html5ever_argv);
const html5ever_step = b.step("html5ever", "Install html5ever dependency (requires cargo)");
html5ever_step.dependOn(&html5ever_exec_cargo.step);
b.getInstallStep().dependOn(html5ever_step);
opts.step.dependOn(html5ever_step);
const html5ever_obj = switch (mod.optimize.?) {
.Debug => b.getInstallPath(.prefix, "html5ever/debug/liblitefetch_html5ever.a"),