Skip to content

Commit 3d27a72

Browse files
workingjubileegitbot
authored and
gitbot
committed
Rollup merge of rust-lang#134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
Add UWP (msvc) target support page - Added Platform Support page for `x86_64-uwp-windows-msvc`, `i686-uwp-windows-msvc`, `thumbv7a-uwp-windows-msvc` and `aarch64-uwp-windows-msvc` - Adding myself as a maintainer - Removing the ticks for `thumbv7a-pc-windows-msvc` and `thumbv7a-uwp-windows-msvc` as they do not currently build due to rust-lang#134565 and rust-lang/backtrace-rs#685 - Fixed a few minor issues to let most of the UWP targets compile - Happy new year to all! r? jieyouxu
2 parents 3a8c5a2 + 1ee92f9 commit 3d27a72

File tree

1 file changed

+3
-2
lines changed
  • std/src/sys/pal/windows

1 file changed

+3
-2
lines changed

std/src/sys/pal/windows/os.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
#[cfg(test)]
66
mod tests;
77

8-
use super::api::{self, WinError};
9-
use super::to_u16s;
8+
#[cfg(not(target_vendor = "uwp"))]
9+
use super::api::WinError;
10+
use super::{api, to_u16s};
1011
use crate::error::Error as StdError;
1112
use crate::ffi::{OsStr, OsString};
1213
use crate::os::windows::ffi::EncodeWide;

0 commit comments

Comments
 (0)