Skip to content

Commit

Permalink
Fix UWP build
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbai authored and gitbot committed Feb 20, 2025
1 parent a8fc346 commit 277fe76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions std/src/sys/pal/windows/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
#[cfg(test)]
mod tests;

use super::api::{self, WinError};
use super::to_u16s;
#[cfg(not(target_vendor = "uwp"))]
use super::api::WinError;
use super::{api, to_u16s};
use crate::error::Error as StdError;
use crate::ffi::{OsStr, OsString};
use crate::os::windows::ffi::EncodeWide;
Expand Down

0 comments on commit 277fe76

Please sign in to comment.