[libre-riscv-dev] gitlab-ci-archiver status

Jacob Lifshay programmerjake at gmail.com
Fri Apr 10 18:15:53 BST 2020

On Fri, Apr 10, 2020, 05:09 Luke Kenneth Casson Leighton <lkcl at lkcl.net>

> On Friday, April 10, 2020, Jacob Lifshay <programmerjake at gmail.com> wrote:
> > I was planning on using the program invocation functionality in the Rust
> > standard library:
> > https://doc.rust-lang.org/std/process/struct.Command.html
> yeah that looks overkill (expect capability builtin) however the interface
> looks pretty clean and the output() function has both stdout and stderr
> capturable.

The idea is to expose all the commonly used functionality in a
cross-platform manner, there are extension traits that add additional
functionality for Unix or Windows.

Unix extension trait:

> also the command return result (exit code) is available, which is important
> to use the convention "0" as success and all nonzero values to be err
> logged.
> one thing is not obvious, if it is sync or async.

Depends on which functions you use if they are blocking, though it is not
async in the sense of Futures.


More information about the libre-riscv-dev mailing list