mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-03-17 20:28:03 +02:00
windows, take 3
This commit is contained in:
parent
8887250860
commit
5b42999a3d
@ -37,7 +37,8 @@ test_script:
|
||||
|
||||
before_deploy:
|
||||
# Generate artifacts for release
|
||||
- RUSTFLAGS="-C target-feature=+ssse3" cargo build --release --features simd-accel
|
||||
- SET RUSTFLAGS="-C target-feature=+ssse3"
|
||||
- cargo build --release --features simd-accel
|
||||
- mkdir staging
|
||||
# TODO update this part to copy the artifacts that make sense for your project
|
||||
- copy target\release\xrep.exe staging
|
||||
|
@ -37,6 +37,6 @@ pub fn stdout_is_atty() -> bool {
|
||||
unsafe {
|
||||
let fd = winapi::winbase::STD_OUTPUT_HANDLE;
|
||||
let mut out = 0;
|
||||
kernel32::GetConsoleMode(handle, &mut out) != 0
|
||||
kernel32::GetConsoleMode(kernel32::GetStdHandle(fd), &mut out) != 0
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user