summaryrefslogtreecommitdiff
path: root/winpty/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'winpty/build.rs')
-rw-r--r--winpty/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/winpty/build.rs b/winpty/build.rs
index 0035ce3b..ae141f7e 100644
--- a/winpty/build.rs
+++ b/winpty/build.rs
@@ -62,7 +62,7 @@ fn aquire_winpty_agent(out_path: &Path) {
let mut archive = zip::ZipArchive::new(file).unwrap();
- let target = match env::var("TARGET").unwrap().split("-").next().unwrap() {
+ let target = match env::var("TARGET").unwrap().split('-').next().unwrap() {
"x86_64" => "x64",
"i386" => "ia32",
_ => panic!("architecture has no winpty binary"),