Use "::std" instead of "std"
This commit is contained in:
parent
9a316d1268
commit
24b0cadb89
1 changed files with 1 additions and 1 deletions
2
build.rs
2
build.rs
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
fn main() {
|
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 git_version = if profile == "debug" {
|
||||||
let output = Command::new("git")
|
let output = Command::new("git")
|
||||||
.args(&["describe", "HEAD"])
|
.args(&["describe", "HEAD"])
|
||||||
|
|
Loading…
Reference in a new issue