aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/rust-hir-dump.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-05 12:28:38 +0200
committerPhilip Herron <philip.herron@embecosm.com>2023-10-31 11:39:08 +0000
commit3c6aca6cc174ac2881fb1783e0fda90c2b89bfc8 (patch)
treec2842e5f05334ecf92e76232266578d26f86c2f3 /gcc/rust/hir/rust-hir-dump.cc
parenta1ed0756c05fbd92d29f54d02556c75d4b1864c5 (diff)
downloadgcc-3c6aca6cc174ac2881fb1783e0fda90c2b89bfc8.zip
gcc-3c6aca6cc174ac2881fb1783e0fda90c2b89bfc8.tar.gz
gcc-3c6aca6cc174ac2881fb1783e0fda90c2b89bfc8.tar.bz2
Add array length to the proc macro buffer
The compiler cannot infer the array length from the type, we should therefore hand it the information. The proc macro buffer missed that information. gcc/rust/ChangeLog: * backend/rust-compile.cc (proc_macro_buffer): Update type builder with array length information. (proc_macro_array): Update type initializer with array length information. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/hir/rust-hir-dump.cc')
0 files changed, 0 insertions, 0 deletions