gcc/libgrust/libproc_macro
Pierre-Emmanuel Patry c0763eac05 gccrs: proc_macro: Add is_available callback
Add a callback from gcc to determine wether the bridge is available or
not.

gcc/rust/ChangeLog:

	* expand/rust-proc-macro.cc (available): Add symbol
	registration.
	(load_macros_array): Likewise.

libgrust/ChangeLog:

	* libproc_macro/proc_macro.cc (not_available): Add a
	function to express bridge unavailability.
	* libproc_macro/proc_macro.h (not_available): Likewise.
	* libproc_macro/registration.h: Add symbol type.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
2024-01-16 18:56:01 +01:00
..
rust gccrs: proc_macro: Increase FFIString usage 2024-01-16 18:55:59 +01:00
ffistring.cc gccrs: libproc_macro: Fix Tokenstream growth 2024-01-16 18:46:26 +01:00
ffistring.h gccrs: libproc_macro: Change cpp literal representation 2024-01-16 18:37:19 +01:00
group.cc gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
group.h gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
ident.cc gccrs: libproc_macro: Change Ident structure 2024-01-16 18:55:56 +01:00
ident.h gccrs: libproc_macro: Change Ident structure 2024-01-16 18:55:56 +01:00
literal.cc gccrs: proc_macro: Mirror FFIString changes in C++library 2024-01-16 18:55:59 +01:00
literal.h gccrs: proc_macro: Mirror FFIString changes in C++library 2024-01-16 18:55:59 +01:00
Makefile.am gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
Makefile.in gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
proc_macro.cc gccrs: proc_macro: Add is_available callback 2024-01-16 18:56:01 +01:00
proc_macro.h gccrs: proc_macro: Add is_available callback 2024-01-16 18:56:01 +01:00
punct.cc gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
punct.h gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
registration.h gccrs: proc_macro: Add is_available callback 2024-01-16 18:56:01 +01:00
span.cc gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
span.h gccrs: libproc_macro: Add cpp Span representation 2024-01-16 18:46:23 +01:00
tokenstream.cc gccrs: proc_macro: Rename from_string callback symbol 2024-01-16 18:56:01 +01:00
tokenstream.h gccrs: proc_macro: Mirror FFIString changes in C++library 2024-01-16 18:55:59 +01:00
tokentree.cc gccrs: libproc_macro: Remove internal named namespaces 2024-01-16 18:34:16 +01:00
tokentree.h gccrs: libproc_macro: Remove internal named namespaces 2024-01-16 18:34:16 +01:00