Skip to content

Commit a5c0275

Browse files
committed
try manually setting windows sdk dir
1 parent 186cbf6 commit a5c0275

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/assets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
name: Release
66
env:
77
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
8-
GYP_MSVS_OVERRIDE_PATH: C:/Program Files/Microsoft Visual Studio/2022/Enterprise
8+
WINDOWSSDKDIR: 'C:/Program Files (x86)/Windows Kits/10/'
99
UPLOAD_DIR: ${{ github.workspace }}/assets
1010
jobs:
1111
build:

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ pub mod sys;
112112
#[cfg(all(not(feature = "sys"), not(target_os = "windows")))]
113113
mod sys;
114114

115-
#[cfg(all(not(feature = "sys"), target_os = "windows"))]
115+
#[cfg(target_os = "windows")]
116116
mod win_sys;
117117
#[cfg(all(not(feature = "sys"), target_os = "windows"))]
118118
use win_sys as sys;

0 commit comments

Comments
 (0)