]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: libproc_macro: Copy ffistring data from source
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 16 May 2023 11:25:40 +0000 (13:25 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:20 +0000 (18:37 +0100)
commit9fc94c1562dd69508d7483d236b352270e0d6e3b
tree386fc784564bf607440697362ec45a8837e06e94
parent4689998556b6190ab9333580725f796704e104f1
gccrs: libproc_macro: Copy ffistring data from source

Data from source pointer were not copied correctly in the ffistring
constructor.

libgrust/ChangeLog:

* libproc_macro/ffistring.cc (FFIString::make_ffistring):
Add copy from source pointer.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
libgrust/libproc_macro/ffistring.cc