mirror of https://github.com/spikecodes/libreddit
Update build.rs
This commit is contained in:
parent
0dc49ba56a
commit
5abe4378c6
9
build.rs
9
build.rs
|
@ -1,8 +1,13 @@
|
|||
use std::{
|
||||
os::unix::process::ExitStatusExt,
|
||||
os::windows::process::ExitStatusExt,
|
||||
process::{Command, ExitStatus, Output},
|
||||
};
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
use std::os::unix::process::ExitStatusExt;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
use std::os::windows::process::ExitStatusExt;
|
||||
|
||||
fn main() {
|
||||
let output = String::from_utf8(
|
||||
Command::new("git")
|
||||
|
|
Loading…
Reference in New Issue