Files
RedBear-OS/src/scheme/sys/uname.rs
T
2024-01-17 13:52:01 -07:00

12 lines
255 B
Rust

use crate::syscall::error::Result;
use alloc::vec::Vec;
pub fn resource() -> Result<Vec<u8>> {
Ok(format!(
"Redox\n\n{}\n\n{}\n",
env!("CARGO_PKG_VERSION"),
env!("TARGET").split('-').next().unwrap()
)
.into_bytes())
}