]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #104160 - Ayush1325:windows-args, r=m-ou-se
authorbors <bors@rust-lang.org>
Thu, 1 Dec 2022 01:22:32 +0000 (01:22 +0000)
committerbors <bors@rust-lang.org>
Thu, 1 Dec 2022 01:22:32 +0000 (01:22 +0000)
  Extract WStrUnits to sys_common::wstr

This commit extracts WStrUnits from sys::windows::args to sys_common::wstr. This allows using the same structure for other targets which use wtf8 (example UEFI).

This was originally a part of https://github.com/rust-lang/rust/pull/100316

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
1  2 
library/std/src/sys_common/mod.rs

Simple merge