blob: f055d23ccd499a82c1fc790a7275fd5d1db8469b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- crashtracker/src/collector/crash_handler.rs.orig 2025-02-11 17:46:31 UTC
+++ crashtracker/src/collector/crash_handler.rs
@@ -48,7 +48,7 @@ use std::time::{Duration, Instant};
// Macos seems to have deprecated vfork. The reason to prefer vfork is to suppress atfork
// handlers. This is OK because macos is primarily a test platform, and we have system-level
// testing on Linux in various CI environments.
-#[cfg(target_os = "macos")]
+#[cfg(any(target_os = "freebsd", target_os = "macos"))]
use libc::fork as vfork;
#[cfg(target_os = "linux")]
|