mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
580bad2042
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
10 lines
247 B
Rust
10 lines
247 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let target = env::var("TARGET").unwrap();
|
|
println!("cargo:rustc-env=ZED_TARGET={}", target);
|
|
|
|
if let Ok(bundled) = env::var("ZED_BUNDLE") {
|
|
println!("cargo:rustc-env=ZED_BUNDLE={}", bundled);
|
|
}
|
|
}
|