mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix feature names
This commit is contained in:
parent
10e27b01e3
commit
cceb21240b
@ -38,9 +38,9 @@ use log::{self, debug, error, info};
|
||||
use simplelog::{CombinedLogger, Config, TermLogger, TerminalMode, WriteLogger};
|
||||
use std::{fs::File, mem, panic, str::FromStr};
|
||||
|
||||
#[cfg(feature = "heaptracking")]
|
||||
#[cfg(feature = "heaptrack")]
|
||||
use heaptrack::track_mem;
|
||||
#[cfg(feature = "heaptracking")]
|
||||
#[cfg(feature = "heaptrack")]
|
||||
track_mem!();
|
||||
|
||||
/// A type used to store state that is shared between all play states.
|
||||
@ -196,7 +196,7 @@ fn main() {
|
||||
backtrace::Backtrace::new(),
|
||||
);
|
||||
|
||||
#[cfg(feature = "errorbox")]
|
||||
#[cfg(feature = "msgbox")]
|
||||
msgbox::create("Voxygen has panicked", &msg, msgbox::IconType::ERROR);
|
||||
|
||||
default_hook(panic_info);
|
||||
|
Loading…
Reference in New Issue
Block a user