summaryrefslogtreecommitdiff
path: root/runtime/ops/runtime.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-07-15 12:30:25 -0400
committerGitHub <noreply@github.com>2022-07-15 12:30:25 -0400
commit635eed93731c3616cacf53860b9aeeeb8cfe158b (patch)
tree04509d5720189fe12b2021500c461ccea1ddfa8e /runtime/ops/runtime.rs
parentee0c0586b318fe23908a3b9b4311b26d79c5c8a1 (diff)
chore: fix Windows specific clippy errors (#15212)
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r--runtime/ops/runtime.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs
index 31f9d2732..d12dfab96 100644
--- a/runtime/ops/runtime.rs
+++ b/runtime/ops/runtime.rs
@@ -51,6 +51,7 @@ pub fn ppid() -> i64 {
CreateToolhelp32Snapshot, Process32First, Process32Next, PROCESSENTRY32,
TH32CS_SNAPPROCESS,
};
+ // SAFETY: winapi calls
unsafe {
// Take a snapshot of system processes, one of which is ours
// and contains our parent's pid