diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-22 16:58:14 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-12-11 13:50:48 +0200 |
commit | 911c3deb4080306ea909081bc00c3485fd6caed2 (patch) | |
tree | 00f1e2fb9882a1afa1bbc0b3d034fb2c727068d0 /guix/platforms/riscv.scm | |
parent | f668ab0fd7aee6cf7f216fd107cd71c5c484dda9 (diff) |
guix: platform: Add platform-rust-target.
* guix/platform.scm <platform>: Add rust-target field.
* guix/platforms/arm.scm (armv7-linux, aarch64-linux): Add the system's
rust target triplet.
* guix/platforms/mips.scm (mips64-linux):
* guix/platforms/powerpc.scm (powerpc-linux, powerpc64-linux,
powerpc64le-linux):
* guix/platforms/riscv.scm (riscv64-linux):
* guix/platforms/x86.scm (i686-linux, x86_64-linux, i686-mingw,
x86_64-mingw, i586-pc): Same.
Change-Id: Id9dca0fb8ec2b3bf2b3876b974e4bbaa30dbc6a6
Diffstat (limited to 'guix/platforms/riscv.scm')
-rw-r--r-- | guix/platforms/riscv.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/guix/platforms/riscv.scm b/guix/platforms/riscv.scm index c716c12c12..1b34e82b36 100644 --- a/guix/platforms/riscv.scm +++ b/guix/platforms/riscv.scm @@ -26,4 +26,5 @@ (target "riscv64-linux-gnu") (system "riscv64-linux") (linux-architecture "riscv") + (rust-target "riscv64gc-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld-linux-riscv64-lp64d.so.1"))) |