mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
It's stupid to create rust strings in the first place to only convert them into C-style for SM anyway. Furthermore most of those strings are const literals (comp time strings), so now we will just store additional null byte within them and able to avoid any runtime conversions. We should do this in more places. Testing: Just refactor. --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>