1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

Add Fuchsia as recognized host OS in uname.

This commit is contained in:
Lei Zhang 2016-11-24 17:30:03 -05:00
parent e37468b630
commit 59c12433e0

View file

@ -28,6 +28,8 @@ static HOST_OS: &'static str = "FreeBSD";
static HOST_OS: &'static str = "OpenBSD";
#[cfg(target_os = "macos")]
static HOST_OS: &'static str = "Darwin";
#[cfg(target_os = "fuchsia")]
static HOST_OS: &'static str = "Fuchsia";
pub fn uumain(args: Vec<String>) -> i32 {
let mut opts = new_coreopts!(SYNTAX, SUMMARY, "");