Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust
283 B
Raw Blame
//! Embed the compilation target, including its architecture and ABI.

fn main() -> Result<(), std::env::VarError> {
    let target = std::env::var("TARGET")?;
    println!("cargo:rustc-env=CODEX_BUILD_TARGET={target}");
    println!("cargo:rerun-if-changed=build.rs");
    Ok(())
}