aboutsummaryrefslogtreecommitdiff
path: root/winpty/build.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-03-30 16:48:36 +0000
committerGitHub <noreply@github.com>2019-03-30 16:48:36 +0000
commitcfd025b5289bc305470a96657868c982a2b13bc2 (patch)
tree093b9105c881e28b909e031c46d2054016b643b3 /winpty/build.rs
parent91aa683bcd060b2ac2f621a388a6448f564d0537 (diff)
downloadr-alacritty-cfd025b5289bc305470a96657868c982a2b13bc2.tar.gz
r-alacritty-cfd025b5289bc305470a96657868c982a2b13bc2.tar.bz2
r-alacritty-cfd025b5289bc305470a96657868c982a2b13bc2.zip
Add rustfmt style guide
Diffstat (limited to 'winpty/build.rs')
-rw-r--r--winpty/build.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/winpty/build.rs b/winpty/build.rs
index 90d81803..0ab379b8 100644
--- a/winpty/build.rs
+++ b/winpty/build.rs
@@ -5,8 +5,10 @@ fn main() {
// The working directory for `cargo test` is in the deps folder, not the debug/release root
if cfg!(test) && Path::new("target").exists() {
#[cfg(debug_assertions)]
- copy("../assets/windows/x86_64/winpty-agent.exe", "target/debug/deps/winpty-agent.exe").unwrap();
+ copy("../assets/windows/x86_64/winpty-agent.exe", "target/debug/deps/winpty-agent.exe")
+ .unwrap();
#[cfg(not(debug_assertions))]
- copy("../assets/windows/x86_64/winpty-agent.exe", "target/release/deps/winpty-agent.exe").unwrap();
+ copy("../assets/windows/x86_64/winpty-agent.exe", "target/release/deps/winpty-agent.exe")
+ .unwrap();
}
}