diff --git a/build.rs b/build.rs index c2c4ec66..4aa730f0 100644 --- a/build.rs +++ b/build.rs @@ -19,7 +19,7 @@ use std::process::Command; fn main() { - let profile = String::from(std::env::var("PROFILE").unwrap()); + let profile = String::from(::std::env::var("PROFILE").unwrap()); let git_version = if profile == "debug" { let output = Command::new("git") .args(&["describe", "HEAD"])