@@ -90,23 +90,22 @@ configuration). The stderr output is also saved in that same directory.
90
90
The following is a summary of the instructions that Cargo recognizes, with each
91
91
one detailed below.
92
92
93
- * [ ` cargo:rerun-if-changed=PATH ` ] ( #rerun-if-changed ) — Used to tell Cargo when
93
+ * [ ` cargo:rerun-if-changed=PATH ` ] ( #rerun-if-changed ) — Tells Cargo when to
94
+ re-run the script.
95
+ * [ ` cargo:rerun-if-env-changed=VAR ` ] ( #rerun-if-env-changed ) — Tells Cargo when
94
96
to re-run the script.
95
- * [ ` cargo:rerun-if-env-changed=VAR ` ] ( #rerun-if-env-changed ) — Used to tell
96
- Cargo when to re-run the script.
97
- * [ ` cargo:rustc-link-lib=[KIND=]NAME ` ] ( #rustc-link-lib ) — Used to link a
98
- library.
99
- * [ ` cargo:rustc-link-search=[KIND=]PATH ` ] ( #rustc-link-search ) — Used to add to
100
- the library search path.
101
- * [ ` cargo:rustc-flags=FLAGS ` ] ( #rustc-flags ) — Used to pass certain flags to
102
- the compiler.
103
- * [ ` cargo:rustc-cfg=KEY[="VALUE"] ` ] ( #rustc-cfg ) — Used to enable compile-time
104
- ` cfg ` settings.
105
- * [ ` cargo:rustc-env=VAR=VALUE ` ] ( #rustc-env ) — Used to set an environment
106
- variable.
107
- * [ ` cargo:rustc-cdylib-link-arg=FLAG ` ] ( #rustc-cdylib-link-arg ) — Used to pass
108
- custom flags to a linker for cdylib crates.
109
- * [ ` cargo:warning=MESSAGE ` ] ( #cargo-warning ) — Used to display a warning on the
97
+ * [ ` cargo:rustc-link-lib=[KIND=]NAME ` ] ( #rustc-link-lib ) — Adds a library to
98
+ link.
99
+ * [ ` cargo:rustc-link-search=[KIND=]PATH ` ] ( #rustc-link-search ) — Adds to the
100
+ library search path.
101
+ * [ ` cargo:rustc-flags=FLAGS ` ] ( #rustc-flags ) — Passes certain flags to the
102
+ compiler.
103
+ * [ ` cargo:rustc-cfg=KEY[="VALUE"] ` ] ( #rustc-cfg ) — Enables compile-time ` cfg `
104
+ settings.
105
+ * [ ` cargo:rustc-env=VAR=VALUE ` ] ( #rustc-env ) — Sets an environment variable.
106
+ * [ ` cargo:rustc-cdylib-link-arg=FLAG ` ] ( #rustc-cdylib-link-arg ) — Passes custom
107
+ flags to a linker for cdylib crates.
108
+ * [ ` cargo:warning=MESSAGE ` ] ( #cargo-warning ) — Displays a warning on the
110
109
terminal.
111
110
* [ ` cargo:KEY=VALUE ` ] ( #the-links-manifest-key ) — Metadata, used by ` links `
112
111
scripts.
0 commit comments