aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-base.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-10-05 12:28:38 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:34 +0100
commit068bdc3c6141833d533fd99234578c86658c0576 (patch)
treeb7dad078048dc1b93bfbd01aa0de44b5fe7b80f9 /gcc/rust/backend/rust-compile-base.cc
parent4ad869fadaf93bb2aee92c40da98ed011449b45a (diff)
downloadgcc-068bdc3c6141833d533fd99234578c86658c0576.zip
gcc-068bdc3c6141833d533fd99234578c86658c0576.tar.gz
gcc-068bdc3c6141833d533fd99234578c86658c0576.tar.bz2
gccrs: 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/backend/rust-compile-base.cc')
0 files changed, 0 insertions, 0 deletions