Conversation
|
I've been trying to build a |
| Ok(()) | ||
| if !surpress_warning && !output.stderr.is_empty() { | ||
| // Cannot use eprintln, because it would interfere with the progress bar. | ||
| println!("{}", String::from_utf8_lossy(&output.stderr)); |
There was a problem hiding this comment.
Don't redirect STDERR into STDOUT.
There was a problem hiding this comment.
As commented in the code, output to stderr will interfere with the progress bar UI. What's your suggestion?
There was a problem hiding this comment.
This is fine. Our STDOUT should probably be errors / warnings anyway as these are the only information from a build we care about.
Not in this PR. We have |
## Changelog for common: Branch: master Commits: [dfinity-lab/common@41a40026...2e4b3530](https://github.com/dfinity-lab/common/compare/41a40026b09f744e2605d0afdd5d42bd677cbf2a...2e4b35303b6c04e45c0d3581992569b4bdde66a6) * [`6bfb5098`](https://github.com/dfinity-lab/common/commit/6bfb50982ca1856c1ed6a94da5e3a4c6ab7eee0c) Add Gabor's SSH Public Key ([dfinity-lab/common#328](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/328)) * [`045111d0`](https://github.com/dfinity-lab/common/commit/045111d05eb2d281d52ca6ec6bd3006d9209f58f) sam's ssh key added to accounts.nix ([dfinity-lab/common#338](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/338)) * [`6ec0b53f`](https://github.com/dfinity-lab/common/commit/6ec0b53fe9780cf4d401515e7619b9c697199eeb) Add Maria's ssh key to accounts.nix ([dfinity-lab/common#339](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/339)) * [`2e4b3530`](https://github.com/dfinity-lab/common/commit/2e4b35303b6c04e45c0d3581992569b4bdde66a6) Update Islam's SSH key ([dfinity-lab/common#342](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/342))
## Changelog for common: Branch: master Commits: [dfinity-lab/common@41a40026...2e4b3530](https://github.com/dfinity-lab/common/compare/41a40026b09f744e2605d0afdd5d42bd677cbf2a...2e4b35303b6c04e45c0d3581992569b4bdde66a6) * [`6bfb5098`](https://github.com/dfinity-lab/common/commit/6bfb50982ca1856c1ed6a94da5e3a4c6ab7eee0c) Add Gabor's SSH Public Key ([dfinity-lab/common#328](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/328)) * [`045111d0`](https://github.com/dfinity-lab/common/commit/045111d05eb2d281d52ca6ec6bd3006d9209f58f) sam's ssh key added to accounts.nix ([dfinity-lab/common#338](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/338)) * [`6ec0b53f`](https://github.com/dfinity-lab/common/commit/6ec0b53fe9780cf4d401515e7619b9c697199eeb) Add Maria's ssh key to accounts.nix ([dfinity-lab/common#339](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/339)) * [`2e4b3530`](https://github.com/dfinity-lab/common/commit/2e4b35303b6c04e45c0d3581992569b4bdde66a6) Update Islam's SSH key ([dfinity-lab/common#342](http://r.duckduckgo.com/l/?uddg=https://github.com/dfinity-lab/common/issues/342))
Uh oh!
There was an error while loading. Please reload this page.