mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
77dda2cdef
This can be used for functions that accept non-Unicode content (i.e. &CStr or CString) but are often used in our code base with a UTF-8 or UTF-32 string on-hand. When such a function is passed a CString, it's passed through as-is and allocation-free. But when, as is often the case, we have a static string we can now pass it in directly with all the nice ergonomics thereof instead of having to manually create and unwrap a CString at the call location. There's an upstream request to add this functionality to the standard library: https://github.com/rust-lang/rust/issues/71448 |
||
---|---|---|
.. | ||
src | ||
widestring-suffix | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |