mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
inital commit, which is clearly not initial
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
17
src/main.rs
Executable file
17
src/main.rs
Executable file
@@ -0,0 +1,17 @@
|
||||
//! Ghost CLI
|
||||
|
||||
#![warn(missing_docs)]
|
||||
|
||||
use color_eyre::eyre;
|
||||
|
||||
/// Global allocator. Changing it to another allocator will require changing
|
||||
/// `memory_stats::MemoryAllicationTracker`.
|
||||
#[cfg(any(target_os = "linux", feature = "jemalloc-allocator"))]
|
||||
#[global_allocator]
|
||||
pub static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
|
||||
|
||||
fn main() -> eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
ghost_cli::run()?;
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user