diff options
Diffstat (limited to 'winpty/build.rs')
-rw-r--r-- | winpty/build.rs | 6 |
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(); } } |