From f8c93ea712c9ea23fe605dc375df5961e204df2a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 17 Dec 2023 14:52:19 +0200 Subject: [PATCH] doc: Document the rust-target platform field. * doc/guix.texi (platform Reference): Document the rust-target platform field. Change-Id: I31642bbc64f6d4f2bfeed4a4000f95f853580444 --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index e61a893af9..7d7697d318 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -45875,6 +45875,11 @@ This optional string field is only relevant if the kernel is Linux. In that case, it corresponds to the ARCH variable used when building Linux, @code{"mips"} for instance. +@item @code{rust-target} (default: @code{#false}) +This optional string field is used to determine which rust target is best +supported by this platform. For example, the base level system targeted by +@code{armhf-linux} system is closest to @code{armv7-unknown-linux-gnueabihf}. + @item @code{glibc-dynamic-linker} This field is the name of the GNU C Library dynamic linker for the corresponding system, as a string. It can be