]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: expand: Add procmacro loading function
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 15 May 2023 13:23:50 +0000 (15:23 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:46:25 +0000 (18:46 +0100)
commit1f4660d5dba3a6e02aec5f95e8ec7b223ebb9730
tree7fc8ec745066fc853160ea58f28c12293060e96c
parent4ca2f2030048e0a0121a32ad218c0e3f7a327191
gccrs: expand: Add procmacro loading function

Add a function to load a shared object procmacro and retrieve the list
of available procedural macros.

gcc/rust/ChangeLog:

* Make-lang.in: Add rust-proc-macro object to list.
* expand/rust-proc-macro.cc: New file.
* expand/rust-proc-macro.h: New file.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/Make-lang.in
gcc/rust/expand/rust-proc-macro.cc [new file with mode: 0644]
gcc/rust/expand/rust-proc-macro.h [new file with mode: 0644]