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:
committed by
Thomas Schönauer
parent
41e2321b93
commit
22ed1ef50a
@@ -13,13 +13,12 @@ use directories::BaseDirs;
|
||||
use regex::Regex;
|
||||
use serde::Deserialize;
|
||||
use strum::{EnumIter, EnumString, EnumVariantNames, IntoEnumIterator};
|
||||
use sys_info::hostname;
|
||||
use tracing::debug;
|
||||
use which_crate::which;
|
||||
|
||||
use crate::command::CommandExt;
|
||||
|
||||
use super::utils::editor;
|
||||
use super::utils::{editor, hostname};
|
||||
|
||||
pub static EXAMPLE_CONFIG: &str = include_str!("../config.example.toml");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user