nicompiler_backend 0.3.0

A backend interface for National Instrument (NI) integration, offering streamlined experimental control systems with Rust's performance and safety guarantees.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    let dyld_path =
        "/System/Volumes/Data/Users/nicholaslyu/anaconda3/pkgs/python-3.10.9-hc0d8a6c_1/lib/";
    let current_dyld_path = env::var("DYLD_LIBRARY_PATH").unwrap_or_default();
    let new_dyld_path = format!("{}:{}", dyld_path, current_dyld_path);

    println!("cargo:rustc-env=DYLD_LIBRARY_PATH={}", new_dyld_path);
}