Skip to content

Commit 950e703

Browse files
authored
fix nightly ci (#2663)
1 parent dea3d25 commit 950e703

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git2-hooks/src/hookspath.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ trait CommandExt {
276276
/// or if it used with either `CREATE_NEW_CONSOLE` or `DETACHED_PROCESS`.
277277
///
278278
/// See: <https://learn.microsoft.com/en-us/windows/win32/procthread/process-creation-flags>
279+
#[cfg(windows)]
279280
const CREATE_NO_WINDOW: u32 = 0x0800_0000;
280281

281282
fn with_no_window(&mut self) -> &mut Self;

0 commit comments

Comments
 (0)