12 lines
255 B
Rust
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())
|
|
}
|