cyx 0.3.0

Fast, simple command-line security tool powered by AI. Install with cargo, setup in 30 seconds.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    // Set rpath for macOS to find ONNX Runtime library in the same directory as the binary
    #[cfg(target_os = "macos")]
    {
        println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path");
    }

    // For Linux, set rpath to $ORIGIN
    #[cfg(target_os = "linux")]
    {
        println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
    }
}