File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -346,8 +346,10 @@ The `rerun-if-env-changed` instruction tells Cargo to re-run the build script
346
346
if the value of an environment variable of the given name has changed.
347
347
348
348
Note that the environment variables here are intended for global environment
349
- variables like ` CC ` and such, it is not necessary to use this for environment
350
- variables like ` TARGET ` that Cargo sets.
349
+ variables like ` CC ` and such, it is not possible to use this for environment
350
+ variables like ` TARGET ` that [ Cargo sets for build scripts] [ build-env ] . The
351
+ environment variables in use are those received by ` cargo ` invocations, not
352
+ those received by the executable of the build script.
351
353
352
354
353
355
### The ` links ` Manifest Key
You can’t perform that action at this time.
0 commit comments