What the proper way of using rerun-if-env-changed? I am using a library where I am trying to pass in an env var from my application build.rs using cargo:rustc-env but the problem is the library which depends on the env var fails before it can be rerun. If set the env var prior or if I change the code around in the library then it can compile fine. Just not sure what the intended use case is.
What the proper way of using
rerun-if-env-changed? I am using a library where I am trying to pass in an env var from my applicationbuild.rsusingcargo:rustc-envbut the problem is the library which depends on the env var fails before it can be rerun. If set the env var prior or if I change the code around in the library then it can compile fine. Just not sure what the intended use case is.