We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 653c5d7 commit 7463dc7Copy full SHA for 7463dc7
crates/assert-instr-macro/build.rs
@@ -2,6 +2,7 @@ use std::env;
2
3
fn main() {
4
println!("cargo:rerun-if-changed=build.rs");
5
+ println!("cargo::rustc-check-cfg=cfg(optimized)");
6
let opt_level = env::var("OPT_LEVEL")
7
.ok()
8
.and_then(|s| s.parse().ok())
crates/core_arch/build.rs
@@ -0,0 +1,3 @@
1
+fn main() {
+ println!("cargo::rustc-check-cfg=cfg(stdarch_intel_sde)");
+}
0 commit comments