Skip to content

Commit

Permalink
Fix safety of windows uwp functions
Browse files Browse the repository at this point in the history
These functions were changed to be safe in
rust-lang#127763, but this particular UWP
version was missed. Otherwise this causes unnecessary unsafe block
warnings/errors.
  • Loading branch information
ehuss authored and gitbot committed Feb 22, 2025
1 parent cb34648 commit 29b1a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/src/sys/pal/windows/stack_overflow_uwp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![cfg_attr(test, allow(dead_code))]

pub unsafe fn reserve_stack() {}
pub unsafe fn init() {}
pub fn reserve_stack() {}
pub fn init() {}

0 comments on commit 29b1a33

Please # to comment.