summaryrefslogtreecommitdiff
path: root/cli/windows_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/windows_util.rs')
-rw-r--r--cli/windows_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/windows_util.rs b/cli/windows_util.rs
index deab9f38a..0801ff2f5 100644
--- a/cli/windows_util.rs
+++ b/cli/windows_util.rs
@@ -5,6 +5,7 @@
/// constructed from a stdio handle; if the handle is null this causes a panic.
pub fn ensure_stdio_open() {
#[cfg(windows)]
+ // SAFETY: winapi calls
unsafe {
use std::mem::size_of;
use winapi::shared::minwindef::DWORD;