You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile and execute a rust build script to generate build attributes
@@ -149,6 +149,7 @@ The `hello_lib` target will be build with the flags and the environment variable
149
149
| <aid="cargo_build_script-links"></a>links | Name of the native library this crate links against. |`None`|
150
150
| <aid="cargo_build_script-rundir"></a>rundir | A directory to <code>cd</code> to before the cargo_build_script is run. This should be a path relative to the exec root.<br><br>The default behaviour (and the behaviour if rundir is set to the empty string) is to change to the relative path corresponding to the cargo manifest directory, which replicates the normal behaviour of cargo so it is easy to write compatible build scripts.<br><br>If set to <code>.</code>, the cargo build script will run in the exec root. |`None`|
151
151
| <aid="cargo_build_script-rustc_env"></a>rustc_env | Environment variables to set in rustc when compiling the build script. |`{}`|
152
+
| <aid="cargo_build_script-rustc_env_files"></a>rustc_env_files | Files containing additional environment variables to set for rustc when building the build script. |`[]`|
152
153
| <aid="cargo_build_script-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>. |`[]`|
153
154
| <aid="cargo_build_script-visibility"></a>visibility | Visibility to apply to the generated build script output. |`None`|
154
155
| <aid="cargo_build_script-tags"></a>tags | (list of str, optional): Tags to apply to the generated build script output. |`None`|
Compile and execute a rust build script to generate build attributes
@@ -1630,6 +1630,7 @@ The `hello_lib` target will be build with the flags and the environment variable
1630
1630
| <aid="cargo_build_script-links"></a>links | Name of the native library this crate links against. |`None`|
1631
1631
| <aid="cargo_build_script-rundir"></a>rundir | A directory to <code>cd</code> to before the cargo_build_script is run. This should be a path relative to the exec root.<br><br>The default behaviour (and the behaviour if rundir is set to the empty string) is to change to the relative path corresponding to the cargo manifest directory, which replicates the normal behaviour of cargo so it is easy to write compatible build scripts.<br><br>If set to <code>.</code>, the cargo build script will run in the exec root. |`None`|
1632
1632
| <aid="cargo_build_script-rustc_env"></a>rustc_env | Environment variables to set in rustc when compiling the build script. |`{}`|
1633
+
| <aid="cargo_build_script-rustc_env_files"></a>rustc_env_files | Files containing additional environment variables to set for rustc when building the build script. |`[]`|
1633
1634
| <aid="cargo_build_script-rustc_flags"></a>rustc_flags | List of compiler flags passed to <code>rustc</code>. |`[]`|
1634
1635
| <aid="cargo_build_script-visibility"></a>visibility | Visibility to apply to the generated build script output. |`None`|
1635
1636
| <aid="cargo_build_script-tags"></a>tags | (list of str, optional): Tags to apply to the generated build script output. |`None`|
0 commit comments