Lightpanda: the headless browser designed for AI and automation
chore: don't let cargo's build progress show up as a "failed command"
Karl Seguin52623fe7eff5
diff --git a/build.zig b/build.zigindex 7ccff15f7..ec613c997 100644--- a/build.zig+++ b/build.zig@@ -347,6 +347,10 @@ fn linkHtml5Ever(b: *Build, mod: *Build.Module) void {exec_cargo.addFileInput(b.path(path));}+ // don't let cargo's progress report (sent to stderr) cause Zig's build to+ // print a 'failed command: ...' message. (non-zero status still outputs the error)+ _ = exec_cargo.captureStdErr(.{});+// TODO: We can prefer `--artifact-dir` once it become stable.const out_dir = exec_cargo.addPrefixedOutputDirectoryArg("--target-dir=", "html5ever");