DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (409f3966645a)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11
use std::env;

fn main() {
    // Use NSS_LIB_DIR lazily. If it's not set and we can't find NSS in the path,
    // the build will fail.
    #[cfg(test)]
    let lib_dir = env::var("NSS_LIB_DIR");
    if let Ok(lib_dir) = env::var("NSS_LIB_DIR") {
        println!("cargo:rustc-link-search={}", lib_dir);
    }
}