mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-14 23:15:14 -04:00
Merge pull request #3235 from lightpanda-io/cargo-non-error-progress
chore: don't let cargo's build progress show up as a "failed command"
This commit is contained in:
1 file changed
+4
@@ -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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user