fix(windows): Rust 2024 requires unsafe extern blocks

Missed in the prior 2024 edition sweep because local builds don't
exercise the cfg(target_os = "windows") path. check-windows CI caught it.
This commit is contained in:
2026-04-24 12:21:43 -07:00
parent 1ae044e211
commit a67ed2635b
+1 -1
View File
@@ -56,7 +56,7 @@ struct SptwbDirect {
// ── Windows FFI ──────────────────────────────────────────────────────────── // ── Windows FFI ────────────────────────────────────────────────────────────
extern "system" { unsafe extern "system" {
fn CreateFileW( fn CreateFileW(
lpFileName: *const u16, lpFileName: *const u16,
dwDesiredAccess: u32, dwDesiredAccess: u32,