We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ee283 commit 8a77d1cCopy full SHA for 8a77d1c
src/librustc_attr/Cargo.toml
@@ -3,6 +3,7 @@ authors = ["The Rust Project Developers"]
3
name = "rustc_attr"
4
version = "0.0.0"
5
edition = "2018"
6
+build = "build.rs"
7
8
[lib]
9
src/librustc_attr/build.rs
@@ -0,0 +1,4 @@
1
+fn main() {
2
+ println!("cargo:rerun-if-changed=build.rs");
+ println!("cargo:rerun-if-env-changed=CFG_VERSION");
+}
0 commit comments