You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #138504 - bjorn3:string_merging_rust_strings, r=<try>
Nul terminate rust string literals
This allows taking advantage of the C string merging functionality of linkers, reducing code size.
Marked as draft to see if this actually has much of an effect. The disadvantage of this is that people may start to rely on string literals getting nul terminated. A potential solution for that would be to put a byte that is not part of a valid UTF-8 character right before the nul terminator.
Builds on #138503
0 commit comments