Refactor Rust code for slice-to-array operation
authorTom Tromey <tromey@adacore.com>
Fri, 4 Aug 2023 19:46:44 +0000 (13:46 -0600)
committerTom Tromey <tromey@adacore.com>
Tue, 5 Sep 2023 17:02:34 +0000 (11:02 -0600)
commit49ed499c44d9368d2b954697f362452d1447eecf
tree67b1d92ea6c00f7ca114e180ffdc54af8933810a
parente1a482ad96a2105c9d3a972de06b510379c14d7e
Refactor Rust code for slice-to-array operation

This patch exposes rust_slice_type_p and introduces
rust_slice_to_array, in preparation for subsequent patches that will
need these.
gdb/rust-lang.c
gdb/rust-lang.h