We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ed9e6 commit d742e50Copy full SHA for d742e50
README.md
@@ -89,6 +89,13 @@ functions with hard requirements on some variables supplied by [cargo's
89
build-script driver][cargo] that it has the `TARGET`, `OUT_DIR`, `OPT_LEVEL`,
90
and `HOST` variables.
91
92
+Note that by default, changing these environment variables from one
93
+build to the next does not cause Cargo to rerun `build.rs`, and later
94
+builds may use stale artifacts. One workaround is to `touch build.rs`
95
+whenever you change these variables. You can also enable automatic
96
+rebuilding on a case-by-case basis with
97
+[`rerun-if-env-changed`](https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script).
98
+
99
[cargo]: http://doc.crates.io/build-script.html#inputs-to-the-build-script
100
101
## Optional features
0 commit comments