]>
git.proxmox.com Git - rustc.git/blob - src/stdsimd/crates/assert-instr-macro/build.rs
4 println
!("cargo:rerun-if-changed=build.rs");
5 let opt_level
= env
::var("OPT_LEVEL")
7 .and_then(|s
| s
.parse().ok())
9 let profile
= env
::var("PROFILE").unwrap_or(String
::new());
10 if profile
== "release" || opt_level
>= 2 {
11 println
!("cargo:rustc-cfg=optimized");