Skip to content

Commit 83eaae3

Browse files
committed
revert previous documentation (PR: 12482)
1 parent 00ff2da commit 83eaae3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/doc/src/reference/build-scripts.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -387,10 +387,8 @@ The `rerun-if-env-changed` instruction tells Cargo to re-run the build script
387387
if the value of an environment variable of the given name has changed.
388388

389389
Note that the environment variables here are intended for global environment
390-
variables like `CC` and such, it is not possible to use this for environment
391-
variables like `TARGET` that [Cargo sets for build scripts][build-env]. The
392-
environment variables in use are those received by `cargo` invocations, not
393-
those received by the executable of the build script.
390+
variables like `CC` and such, it is not necessary to use this for environment
391+
variables like `TARGET` that Cargo sets.
394392

395393
## The `links` Manifest Key
396394

0 commit comments

Comments
 (0)