diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:03:22 +0400 | 
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:03:22 +0400 | 
| commit | e9be1f8b274c90b70551185bd41313d72f2d2294 (patch) | |
| tree | ee389e2d26b730999a924870744370616bdf56f4 /exes/rest | |
| parent | 688a21492a06cbaf11584a1b47cd81013e8742b5 (diff) | |
fix msys2 build
Diffstat (limited to 'exes/rest')
| -rw-r--r-- | exes/rest/Cargo.toml | 2 | ||||
| -rw-r--r-- | exes/rest/src/main.rs | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/exes/rest/Cargo.toml b/exes/rest/Cargo.toml index 3d362b2..fb495a0 100644 --- a/exes/rest/Cargo.toml +++ b/exes/rest/Cargo.toml @@ -31,5 +31,5 @@ opentelemetry = "0.18.0"  opentelemetry-http = "0.7.0"  tracing-opentelemetry = "0.18.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/rest/src/main.rs b/exes/rest/src/main.rs index 643bc89..1e73e09 100644 --- a/exes/rest/src/main.rs +++ b/exes/rest/src/main.rs @@ -1,10 +1,10 @@  use leash::ignite;  use rest::ReverseProxyServer; -#[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;  | 
