Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use env::var_os intead of env! in build script
The env! method pulls the variable at *compile time* as opposed to runtime. This can cause breakage in scenarios with cross compilation, for example. Currently there's also a pending change to Cargo on the beta release of Rust which breaks the usage of env! (rust-lang/cargo#3368). We may roll that change back, but I figured it'd be good to head off future breakage anyway!
- Loading branch information