[][src]Function autocfg::rerun_env

pub fn rerun_env(var: &str)

Writes a line telling Cargo to rerun the build script if the environment variable var changes.

This looks like: cargo:rerun-if-env-changed=VAR

This requires at least cargo 0.21.0, corresponding to rustc 1.20.0. Earlier versions of cargo will simply ignore the directive.