rust: Reintroduce TARGET_RUST_OS_INFO hook
commit335da4e99de5dab4678bac7d0a4dcc71c33eced0
authorIain Buclaw <ibuclaw@gdcproject.org>
Wed, 28 Sep 2022 13:33:41 +0000 (28 15:33 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 21 Sep 2023 09:15:02 +0000 (21 11:15 +0200)
tree9d89375dd7ff32e5b21e5ffd99610b65f26e3814
parenta7ea90e4fb8e9b4a072424d2f136264cd0edf316
rust: Reintroduce TARGET_RUST_OS_INFO hook

gcc/ChangeLog:

* doc/tm.texi: Regenerate.
* doc/tm.texi.in: Document TARGET_RUST_OS_INFO.

gcc/rust/ChangeLog:

* rust-session-manager.cc (Session::init): Call
targetrustm.rust_os_info.
* rust-target.def (rust_os_info): New hook.
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/rust/rust-session-manager.cc
gcc/rust/rust-target.def