Index: src/main.rs
--- src/main.rs.orig
+++ src/main.rs
@@ -86,10 +86,10 @@ use crate::parse::syntax;
 ///
 /// For reference, Jemalloc uses 10-20% more time (although up to 33%
 /// more instructions) when testing on sample files.
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 use tikv_jemallocator::Jemalloc;
 
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 #[global_allocator]
 static GLOBAL: Jemalloc = Jemalloc;
 
