Index: crates/main/src/main.rs
--- crates/main/src/main.rs.orig
+++ crates/main/src/main.rs
@@ -23,10 +23,10 @@ use utils::wait_for_shutdown;
 #[cfg(feature = "dev_mode")]
 pub mod test_data;
 
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 use jemallocator::Jemalloc;
 
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 #[global_allocator]
 static GLOBAL: Jemalloc = Jemalloc;
 
