Chanced to ignore msvc instead of windows

Change server to ignore msvc
This commit is contained in:
Forest Anderson 2019-10-05 17:52:58 -04:00
parent e1bab6afe0
commit 0304b51159
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
#![deny(unsafe_code)]
#[cfg(not(target_os = "windows"))]
#[cfg(not(target_env = "msvc"))]
use jemallocator::Jemalloc;
#[cfg(not(target_os = "windows"))]
#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

View File

@ -12,10 +12,10 @@ pub mod discord;
#[cfg(feature = "discord")]
use std::sync::Mutex;
#[cfg(not(target_os = "windows"))]
#[cfg(not(target_env = "msvc"))]
use jemallocator::Jemalloc;
#[cfg(not(target_os = "windows"))]
#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;