aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-05-18 16:18:58 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:46:26 +0100
commit22ba7ea9eecbd1a19757d694b84e5a80b811b003 (patch)
treed6f8be4f63526b7fddd6ff1d34d8e25db47138df /gcc/rust/Make-lang.in
parent5c20c980f74d302a4c62590cb3da9b16d4199c37 (diff)
downloadgcc-22ba7ea9eecbd1a19757d694b84e5a80b811b003.zip
gcc-22ba7ea9eecbd1a19757d694b84e5a80b811b003.tar.gz
gcc-22ba7ea9eecbd1a19757d694b84e5a80b811b003.tar.bz2
gccrs: libproc_macro: Fix capacity update in tokenstream
The capacity was not updated on tokenstream grow. This commit also add a new mechanism to prevent a tokenstream to grow with a zero delta capacity. libgrust/ChangeLog: * libproc_macro/tokenstream.cc (TokenStream::grow): Add minimum growing capacity. (TokenStream::push): Change condition. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions