1use std::process::Command; 2 3/// Check whether sbpf-linker is reachable on PATH. 4pub fn has_sbpf_linker() -> bool { 5 Command::new("sbpf-linker") 6 .arg("--version") 7 .output() 8 .ok() 9 .is_some_and(|o| o.status.success()) 10}