Rollup merge of #107110 - strega-nil:mbtwc-wctmb, r=ChrisDenton
[stdio][windows] Use MBTWC and WCTMB `MultiByteToWideChar` and `WideCharToMultiByte` are extremely well optimized, and therefore should probably be used when we know we can (specifically in the Windows stdio stuff). Fixes #107092
This commit is contained in:
commit
3fe4023370
3 changed files with 78 additions and 29 deletions
|
@ -232,6 +232,7 @@
|
|||
all(target_vendor = "fortanix", target_env = "sgx"),
|
||||
feature(slice_index_methods, coerce_unsized, sgx_platform)
|
||||
)]
|
||||
#![cfg_attr(windows, feature(round_char_boundary))]
|
||||
//
|
||||
// Language features:
|
||||
#![feature(alloc_error_handler)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue