CI: Add NetBSD target (#180)

* Remove the `sys-info` crate

It offers much more features than we currently use.

Additionally, it was preventing me to cross-compile for NetBSD.

Since we were just using the `hostname()` function from the crate,
I went ahead and stole it.

* Add NetBSD target

* Fix FreeBSD clippy warnings
This commit is contained in:
Guilherme Silva
2022-11-16 20:05:20 -03:00
committed by Thomas Schönauer
parent 41e2321b93
commit 22ed1ef50a
6 changed files with 60 additions and 16 deletions

View File

@@ -1,6 +1,4 @@
use crate::command::CommandExt;
use crate::config::Step;
use crate::execution_context::ExecutionContext;
use crate::executor::RunType;
use crate::terminal::print_separator;
use crate::utils::require_option;