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:
MattJackson
2026-04-24 12:21:43 -07:00
parent 84f6baba38
commit 64ecca0d12
+1 -1
View File
@@ -56,7 +56,7 @@ struct SptwbDirect {
// ── Windows FFI ────────────────────────────────────────────────────────────
extern "system" {
unsafe extern "system" {
fn CreateFileW(
lpFileName: *const u16,
dwDesiredAccess: u32,