pub fn set_print_cargo_build_script_directives(should_print: bool) -> bool
Expand description

Set whether or not wolfram-app-discovery will print cargo:rerun-if-env-changed=<VAR> directives.

Defaults to false. The previous value for this configuration is returned.

If true, wolfram-app-discovery functions will print:

cargo:rerun-if-env-changed=<VAR>

each time an environment variable is checked by this library (where <VAR> is the name of the environment variable).

Cargo build scripts are intended to set this variable to true to ensure that changes in the build’s environment configuration will trigger a rebuild. See the Build Scripts section of the Cargo Book for more information.