aboutsummaryrefslogtreecommitdiff
path: root/mail/stalwart/files/patch-tests_src_lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mail/stalwart/files/patch-tests_src_lib.rs')
-rw-r--r--mail/stalwart/files/patch-tests_src_lib.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/stalwart/files/patch-tests_src_lib.rs b/mail/stalwart/files/patch-tests_src_lib.rs
new file mode 100644
index 000000000000..e75acaeaf2ad
--- /dev/null
+++ b/mail/stalwart/files/patch-tests_src_lib.rs
@@ -0,0 +1,17 @@
+--- tests/src/lib.rs.orig 2025-01-28 10:11:28 UTC
++++ tests/src/lib.rs
+@@ -6,12 +6,12 @@ use std::path::PathBuf;
+
+ use std::path::PathBuf;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ use jemallocator::Jemalloc;
+ #[cfg(test)]
+ use trc::Collector;
+
+-#[cfg(not(target_env = "msvc"))]
++#[cfg(not(target_os = "freebsd"))]
+ #[global_allocator]
+ static GLOBAL: Jemalloc = Jemalloc;
+