Index: crates/main/src/main.rs
--- crates/main/src/main.rs.orig
+++ crates/main/src/main.rs
@@ -20,10 +20,10 @@ use std::time::Duration;
 use trc::Collector;
 use utils::wait_for_shutdown;
 
-#[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;
 
