gcc/libgrust
Pierre-Emmanuel Patry f00f3837ef gccrs: proc_macro: Increase FFIString usage
Two remaining structures in the rust interface were still using raw
string pointer and length couples to communicate with the C++ library
throught extern C functions. Using FFIString instead allow us to reduce
the scope of potential errors using those raw pointers. As FFIString
encapsulate raw pointer operations there will be only one locaiton to
look after.

libgrust/ChangeLog:

	* libproc_macro/rust/bridge/literal.rs: Change extern C
	function argument from raw string pointer and length to
	FFIString.
	* libproc_macro/rust/bridge/token_stream.rs: Likewise.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
2024-01-16 18:55:59 +01:00
..
libproc_macro gccrs: proc_macro: Increase FFIString usage 2024-01-16 18:55:59 +01:00
aclocal.m4
ChangeLog Daily bump. 2024-01-09 00:17:50 +00:00
configure libgrust: 'AM_ENABLE_MULTILIB' only for target builds [PR113056] 2024-01-08 12:01:05 +01:00
configure.ac libgrust: 'AM_ENABLE_MULTILIB' only for target builds [PR113056] 2024-01-08 12:01:05 +01:00
Makefile.am gccrs: libproc_macro: Build statically 2024-01-16 18:34:16 +01:00
Makefile.in gccrs: libproc_macro: Build statically 2024-01-16 18:34:16 +01:00