diff options
| author | Ayush Singh <ayushsingh1325@gmail.com> | 2022-11-08 23:23:08 +0530 |
|---|---|---|
| committer | Ayush Singh <ayushsingh1325@gmail.com> | 2022-11-28 21:17:08 +0530 |
| commit | 348a0585054d633b50f515d95e3c42ea8721e106 (patch) | |
| tree | 913d5180c3e6e3370f7a00b9048ebf4ad911d8e5 /library/std/src/sys_common/mod.rs | |
| parent | 57d3c58ed6e0faf89a62411f96c000ffc9fd3937 (diff) | |
| download | rust-348a0585054d633b50f515d95e3c42ea8721e106.tar.gz rust-348a0585054d633b50f515d95e3c42ea8721e106.zip | |
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>
Diffstat (limited to 'library/std/src/sys_common/mod.rs')
| -rw-r--r-- | library/std/src/sys_common/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys_common/mod.rs b/library/std/src/sys_common/mod.rs index 8c19f9332dc..53259e8dbbd 100644 --- a/library/std/src/sys_common/mod.rs +++ b/library/std/src/sys_common/mod.rs @@ -35,6 +35,7 @@ pub mod thread; pub mod thread_info; pub mod thread_local_dtor; pub mod thread_parker; +pub mod wstr; pub mod wtf8; cfg_if::cfg_if! { |
