swordfish/swordfish/build.rs

8 lines
153 B
Rust

// Example custom build script.
fn main() {
println!(
"cargo:rustc-env=BUILD_PROFILE={}",
std::env::var("PROFILE").unwrap()
);
}