forkserver support attempt on freebsd (#898)
Co-authored-by: Dongjia "toka" Zhang <tokazerkje@outlook.com>
This commit is contained in:
parent
d77769540a
commit
f7f6392a4b
@ -118,7 +118,7 @@ fn main() {
|
||||
.file(src_dir.join("cmplog.c"))
|
||||
.compile("cmplog");
|
||||
|
||||
#[cfg(any(target_os = "linux"))]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
{
|
||||
println!("cargo:rerun-if-changed=src/forkserver.c");
|
||||
|
||||
|
@ -101,7 +101,7 @@ pub use cmplog::*;
|
||||
#[cfg(feature = "std")]
|
||||
pub mod drcov;
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
pub mod forkserver;
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(any(target_os = "linux", target_os = "freebsd"))]
|
||||
pub use forkserver::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user