aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse-impl.h
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-06-15 16:37:07 +0200
committerP-E-P <32375388+P-E-P@users.noreply.github.com>2023-07-21 09:06:09 +0000
commit5539f28018b492b68db4c1b6af0c4fe3acbfb19f (patch)
treee4029617c482e378d2b067003bfb6008391671d9 /gcc/rust/parse/rust-parse-impl.h
parent071e02ed91dffe4d85bb1f21ef96ad8061486aa9 (diff)
downloadgcc-5539f28018b492b68db4c1b6af0c4fe3acbfb19f.zip
gcc-5539f28018b492b68db4c1b6af0c4fe3acbfb19f.tar.gz
gcc-5539f28018b492b68db4c1b6af0c4fe3acbfb19f.tar.bz2
import: Load procedural macros into external crate
Load the procedural macro array into the external crate structure. gcc/rust/ChangeLog: * metadata/rust-imports.cc (Import::try_package_in_directory): Add call to load macros before loading metadatas. * expand/rust-proc-macro.cc: Return empty vector instead of panicking on error. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
0 files changed, 0 insertions, 0 deletions