8 lines
146 B
Rust
8 lines
146 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
if let Ok(profile) = env::var("PROFILE") {
|
|
println!("cargo:rustc-cfg=build_type=\"{}\"", profile);
|
|
}
|
|
}
|