File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ test_script:
37
37
38
38
before_deploy :
39
39
# Generate artifacts for release
40
- - RUSTFLAGS="-C target-feature=+ssse3" cargo build --release --features simd-accel
40
+ - SET RUSTFLAGS="-C target-feature=+ssse3"
41
+ - cargo build --release --features simd-accel
41
42
- mkdir staging
42
43
# TODO update this part to copy the artifacts that make sense for your project
43
44
- copy target\release\xrep.exe staging
Original file line number Diff line number Diff line change @@ -37,6 +37,6 @@ pub fn stdout_is_atty() -> bool {
37
37
unsafe {
38
38
let fd = winapi:: winbase:: STD_OUTPUT_HANDLE ;
39
39
let mut out = 0 ;
40
- kernel32:: GetConsoleMode ( handle , & mut out) != 0
40
+ kernel32:: GetConsoleMode ( kernel32 :: GetStdHandle ( fd ) , & mut out) != 0
41
41
}
42
42
}
You can’t perform that action at this time.
0 commit comments