Skip to content

Commit

Permalink
revert previous documentation (PR: 12482)
Browse files Browse the repository at this point in the history
  • Loading branch information
heisen-li committed Jul 18, 2024
1 parent f91dc78 commit fd2e75e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/doc/src/reference/build-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,8 @@ The `rerun-if-env-changed` instruction tells Cargo to re-run the build script
if the value of an environment variable of the given name has changed.

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

## The `links` Manifest Key

Expand Down

0 comments on commit fd2e75e

Please sign in to comment.