Files
shadowsocks-rust/build.rs
T
2020-03-28 01:36:00 +08:00

12 lines
283 B
Rust

fn main() {
// Enable redir (transparent proxy) for these targets
if cfg!(any(
target_os = "linux",
target_os = "macos",
target_os = "freebsd",
target_os = "openbsd"
)) {
println!("cargo:rustc-cfg=feature=\"local-redir\"")
}
}