about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-06-01 22:47:32 +0200
committerGitHub <noreply@github.com>2023-06-01 22:47:32 +0200
commita66ba9b10b78063e4bd6afbc601786eed3159ade (patch)
treec8df5b72818d0b01bb8ae3f33a0d18f6a5e5de0e /compiler/rustc_codegen_gcc
parent20b25d233a9efd9d8dd39d5c506d70fe73c3e16b (diff)
parent1293c1720574144ec13df2bbdcf26dab8e3b771f (diff)
downloadrust-a66ba9b10b78063e4bd6afbc601786eed3159ade.tar.gz
rust-a66ba9b10b78063e4bd6afbc601786eed3159ade.zip
Rollup merge of #112154 - ShaneEverittM:zero-len-utf16, r=thomcc
Fix bug in utf16_to_utf8 for zero length strings

This fixes the behavior of sending EOF by pressing Ctrl+Z => Enter in a windows console.

Previously, that would trip the unpaired surrogate error, whereas now we correctly detect EOF.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions