Alright, was not expecting to mess up this patchset so bad so here we go: This patchset reintroduces proper targetrustm hooks without the old problematic mess of macros we had, which had been removed for the first merge of gccrs upstream. Tested on x86-64 GNU Linux, and has also been present in our development repository for a long time - added by this pull-request from Iain [1] which was merged in October 2022. Ok for trunk? [PATCH 01/14] rust: Add skeleton support and documentation for [PATCH 02/14] rust: Reintroduce TARGET_RUST_CPU_INFO hook [PATCH 03/14] rust: Reintroduce TARGET_RUST_OS_INFO hook [PATCH 04/14] rust: Implement TARGET_RUST_CPU_INFO for i[34567]86-*-* [PATCH 05/14] rust: Implement TARGET_RUST_OS_INFO for *-*-darwin* [PATCH 06/14] rust: Implement TARGET_RUST_OS_INFO for *-*-freebsd* [PATCH 07/14] rust: Implement TARGET_RUST_OS_INFO for *-*-netbsd* [PATCH 08/14] rust: Implement TARGET_RUST_OS_INFO for *-*-openbsd* [PATCH 09/14] rust: Implement TARGET_RUST_OS_INFO for *-*-solaris2*. [PATCH 10/14] rust: Implement TARGET_RUST_OS_INFO for *-*-dragonfly* [PATCH 11/14] rust: Implement TARGET_RUST_OS_INFO for *-*-vxworks* [PATCH 12/14] rust: Implement TARGET_RUST_OS_INFO for *-*-fuchsia*. [PATCH 13/14] rust: Implement TARGET_RUST_OS_INFO for [PATCH 14/14] rust: Implement TARGET_RUST_OS_INFO for *-*-*linux*. [1]: https://github.com/Rust-GCC/gccrs/pull/1543