Skip to content

Commit 66cdbc8

Browse files
committed
fix windows build
1 parent fb6569d commit 66cdbc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dsc/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ fn check_debug() {
137137
// Check if the dsc binary parent process is WinStore.App or Exploerer.exe
138138
#[cfg(windows)]
139139
fn check_store() {
140+
use std::io::Read;
141+
140142
let message = r"
141143
DSC.exe is a command-line tool and cannot be run directly from the Windows Store or Explorer.
142144
Visit https://aka.ms/dscv3-docs for more information on how to use DSC.exe.

0 commit comments

Comments
 (0)