aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-ast-resolve-expr.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-07-26 16:48:37 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-27 12:25:20 +0000
commit5b36e8993a5629ac8a1aacb9fac86507187d5a70 (patch)
treef77792ee67d78e2a802f4b984ca7897f1a10e115 /gcc/rust/resolve/rust-ast-resolve-expr.cc
parent1074c90c8057cfb5c55a6e3f863a5413c34b75c8 (diff)
downloadgcc-5b36e8993a5629ac8a1aacb9fac86507187d5a70.zip
gcc-5b36e8993a5629ac8a1aacb9fac86507187d5a70.tar.gz
gcc-5b36e8993a5629ac8a1aacb9fac86507187d5a70.tar.bz2
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. ChangeLog: * libgrust/libproc_macro/proc_macro.cc (not_available): Add a function to express bridge unavailability. * libgrust/libproc_macro/proc_macro.h (not_available): Likewise. * libgrust/libproc_macro/registration.h: Add symbol type. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions