forked from koniifer/ableos
20 lines
407 B
Rust
20 lines
407 B
Rust
|
#![no_std]
|
||
|
|
||
|
// extern crate alloc;
|
||
|
|
||
|
use log::*;
|
||
|
|
||
|
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||
|
|
||
|
#[cfg(debug_assertions)]
|
||
|
pub const RELEASE_TYPE: &str = "debug";
|
||
|
|
||
|
#[cfg(not(debug_assertions))]
|
||
|
pub const RELEASE_TYPE: &str = "release";
|
||
|
|
||
|
pub fn start_facepalm() {
|
||
|
info!("facepalm 🤦 launched!");
|
||
|
info!("facepalm 🤦 version: {}", VERSION);
|
||
|
info!("facepalm 🤦 {} mode", RELEASE_TYPE);
|
||
|
}
|