diff options
| author | icecodder <git@icecodder.me> | 2023-01-15 16:09:44 +0100 | 
|---|---|---|
| committer | icecodder <git@icecodder.me> | 2023-01-15 16:09:44 +0100 | 
| commit | 17de53a1f58fe6ceff17e7a30a300587a586c53b (patch) | |
| tree | 19ddeff6cb7c40e59acf7542628051b7a304a256 /exes/webhook | |
| parent | 8e7a77e5c3ec66a3174afb6c9942640c321fe0be (diff) | |
| parent | 482a11bb3f97b934f6b1db03c507095691f11e50 (diff) | |
Merge branch 'main' of github.com:discordnova/Nova
Diffstat (limited to 'exes/webhook')
| -rw-r--r-- | exes/webhook/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/webhook/src/main.rs | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/exes/webhook/Cargo.toml b/exes/webhook/Cargo.toml index af256c8..e4fc0ac 100644 --- a/exes/webhook/Cargo.toml +++ b/exes/webhook/Cargo.toml @@ -21,5 +21,5 @@ anyhow = "1.0.68"  async-nats = "0.26.0" -[target.'cfg(not(target_env = "msvc"))'.dependencies] +[target.'cfg(not(target_os = "windows"))'.dependencies]  tikv-jemallocator = "0.5"
\ No newline at end of file diff --git a/exes/webhook/src/main.rs b/exes/webhook/src/main.rs index 9432dbd..bbacda7 100644 --- a/exes/webhook/src/main.rs +++ b/exes/webhook/src/main.rs @@ -1,10 +1,10 @@  use leash::ignite;  use webhook::WebhookServer; -#[cfg(not(target_env = "msvc"))] +#[cfg(not(target_os = "windows"))]  use tikv_jemallocator::Jemalloc; -#[cfg(not(target_env = "msvc"))] +#[cfg(not(target_os = "windows"))]  #[global_allocator]  static GLOBAL: Jemalloc = Jemalloc;  | 
