winrt-rust
winrt-rust copied to clipboard
Find a way to have 16-bit string literals
Unfortunately all string literals passed to WinRT are stored in UTF8 and must first be converted to 16-bit. (wide string). This probably requires a Rust language feature (C++ has L"xxx"
literals), but we might be able to do something with const fn
, when they support allocation, which might come some time in the future.