From unknown Sun Aug 10 07:33:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67506 <67506@debbugs.gnu.org> To: bug#67506 <67506@debbugs.gnu.org> Subject: Status: guix: platform: Add platform-rust-architecture. Reply-To: bug#67506 <67506@debbugs.gnu.org> Date: Sun, 10 Aug 2025 14:33:21 +0000 retitle 67506 guix: platform: Add platform-rust-architecture. reassign 67506 guix-patches submitter 67506 Efraim Flashner severity 67506 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 05:53:49 2023 Received: (at submit) by debbugs.gnu.org; 28 Nov 2023 10:53:49 +0000 Received: from localhost ([127.0.0.1]:45490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7viu-0001wT-Ug for submit@debbugs.gnu.org; Tue, 28 Nov 2023 05:53:49 -0500 Received: from lists.gnu.org ([2001:470:142::17]:52862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7vis-0001wD-R6 for submit@debbugs.gnu.org; Tue, 28 Nov 2023 05:53:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7vig-0005QC-J4 for guix-patches@gnu.org; Tue, 28 Nov 2023 05:53:34 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r7vie-0007JX-9f for guix-patches@gnu.org; Tue, 28 Nov 2023 05:53:34 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-54b8a4d64b5so2021081a12.0 for ; Tue, 28 Nov 2023 02:53:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701168810; x=1701773610; darn=gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=no8iYKhj3bZi9mkdieMzzLvIv7LLzRFtBf+2W0cIrpc=; b=WBtxAM64cl5G27+HPC/XM8mEE9ioQCXnbfItOrT5iPOzjjwp6BjLCprFJML0KaUWGc hv4+lDCOkK2A0YRdM5f4DHgQMcrubWuLlHxfuNDc4wQ3w5g3L108x5yy66Qj4Ag2Oi2Y dTauzP4sTwxgs3nRxlVN1PsCT5W/8Y6m6jAJlJh+z1QBf8c/v9CYlyWVr9Of/SJ1Dthn lVApEHHmatzL1cL3nCfyjwmYoHm+7ezntxNodjLCStYp0vEm2Mn47iLvLL8mybZ9EoEs V11Q10MR3UQ22oEJp0tMoJmhrgJptwK68bg427jpFDyqOIIJWvzg7udRgPN1+TNb656b 3/vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701168810; x=1701773610; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=no8iYKhj3bZi9mkdieMzzLvIv7LLzRFtBf+2W0cIrpc=; b=VKCiFZFNAKoFxtV9DKIN0Ktd7e8g1RWazuTit4/FnxONNOqcARPOsIbq70xdpN3Am9 pdxCgFEZg6NnSiByDmO1oFwGRKpRszp2wHQ18KKdS3LT0LsUW7W2QxtB0ntK7ynHSenB 5IrVl7zuHaYa+5Yj9gH59XaTfuDYXhaRUO+Zkzo3CLa6u/geFJZlHQ1n02GIhsuYCwAz dEStS3KmqXSIW7mB9rUXEmDkNquSz7Da91x3mW85MCUYNpQNc40hyZCX5cltna5RIKlG X6m95E7UiC1toa8EEBugcEkgnwUSLwcHudhvYhpa7SYDyJC+H4kFj9O1/JORxQ16yywj SxTg== X-Gm-Message-State: AOJu0Yz+QjPbwqM5rNyShmSKsvTijeJApd917LC7Kg+FXxxeSJDTUMBa iPWGxl+tZS2EYXcPfA1XahjgzSh6SzK/pw== X-Google-Smtp-Source: AGHT+IESh3xiJS0zeUJDhZOB/34PEeHsr51WijbyfmcK8qk22gdryb6h8TTiP3MN210ukayaonaIkQ== X-Received: by 2002:a05:6402:371:b0:54b:852d:f93a with SMTP id s17-20020a056402037100b0054b852df93amr3086461edw.32.1701168810572; Tue, 28 Nov 2023 02:53:30 -0800 (PST) Received: from localhost ([176.12.138.93]) by smtp.gmail.com with ESMTPSA id eh9-20020a0564020f8900b005486f7f654dsm6267454edb.7.2023.11.28.02.53.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 02:53:29 -0800 (PST) From: Efraim Flashner To: guix-patches@gnu.org Subject: guix: platform: Add platform-rust-architecture. Date: Tue, 28 Nov 2023 12:52:11 +0200 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::52a; envelope-from=efraim.flashner@gmail.com; helo=mail-ed1-x52a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * guix/platform.scm : Add rust-architecture field. * guix/platforms/arm.scm (armv7-linux, aarch64-linux): Add the system's rust architecture triplet. * guix/platforms/mips.scm (mips64-linux) [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (efraim.flashner[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) * guix/platform.scm : Add rust-architecture field. * guix/platforms/arm.scm (armv7-linux, aarch64-linux): Add the system's rust architecture 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 --- guix/platform.scm | 3 +++ guix/platforms/arm.scm | 2 ++ guix/platforms/mips.scm | 1 + guix/platforms/powerpc.scm | 3 +++ guix/platforms/riscv.scm | 1 + guix/platforms/x86.scm | 5 +++++ 6 files changed, 15 insertions(+) diff --git a/guix/platform.scm b/guix/platform.scm index 55917ca308..bcc2bc3e16 100644 --- a/guix/platform.scm +++ b/guix/platform.scm @@ -29,6 +29,7 @@ (define-module (guix platform) platform-target platform-system platform-linux-architecture + platform-rust-architecture platform-glibc-dynamic-linker &platform-not-found-error @@ -74,6 +75,8 @@ (define-record-type* platform make-platform (system platform-system) (linux-architecture platform-linux-architecture (default #false)) + (rust-architecture platform-rust-architecture + (default #false)) (glibc-dynamic-linker platform-glibc-dynamic-linker)) diff --git a/guix/platforms/arm.scm b/guix/platforms/arm.scm index 32c0fbc032..02337ee6b3 100644 --- a/guix/platforms/arm.scm +++ b/guix/platforms/arm.scm @@ -27,6 +27,7 @@ (define armv7-linux (target "arm-linux-gnueabihf") (system "armhf-linux") (linux-architecture "arm") + (rust-architecture "armv7-unknown-linux-gnueabihf") (glibc-dynamic-linker "/lib/ld-linux-armhf.so.3"))) (define aarch64-linux @@ -34,4 +35,5 @@ (define aarch64-linux (target "aarch64-linux-gnu") (system "aarch64-linux") (linux-architecture "arm64") + (rust-architecture "aarch64-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld-linux-aarch64.so.1"))) diff --git a/guix/platforms/mips.scm b/guix/platforms/mips.scm index e6fa9eb292..5c1aef5f4f 100644 --- a/guix/platforms/mips.scm +++ b/guix/platforms/mips.scm @@ -26,4 +26,5 @@ (define mips64-linux (target "mips64el-linux-gnu") (system "mips64el-linux") (linux-architecture "mips") + (rust-architecture "mips64el-unknown-linux-gnuabi64") (glibc-dynamic-linker "/lib/ld.so.1"))) diff --git a/guix/platforms/powerpc.scm b/guix/platforms/powerpc.scm index 1c7141ab42..9730e74288 100644 --- a/guix/platforms/powerpc.scm +++ b/guix/platforms/powerpc.scm @@ -28,6 +28,7 @@ (define powerpc-linux (target "powerpc-linux-gnu") (system "powerpc-linux") (linux-architecture "powerpc") + (rust-architecture "powerpc-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld.so.1"))) (define powerpc64-linux @@ -35,6 +36,7 @@ (define powerpc64-linux (target "powerpc64-linux-gnu") (system #f) ;not supported (linux-architecture "powerpc") + (rust-architecture "powerpc64-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld64.so.1"))) (define powerpc64le-linux @@ -42,4 +44,5 @@ (define powerpc64le-linux (target "powerpc64le-linux-gnu") (system "powerpc64le-linux") (linux-architecture "powerpc") + (rust-architecture "powerpc64le-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld64.so.2"))) diff --git a/guix/platforms/riscv.scm b/guix/platforms/riscv.scm index c716c12c12..ec400a2f0c 100644 --- a/guix/platforms/riscv.scm +++ b/guix/platforms/riscv.scm @@ -26,4 +26,5 @@ (define riscv64-linux (target "riscv64-linux-gnu") (system "riscv64-linux") (linux-architecture "riscv") + (rust-architecture "riscv64gc-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld-linux-riscv64-lp64d.so.1"))) diff --git a/guix/platforms/x86.scm b/guix/platforms/x86.scm index 6f547dd770..05c69f0d4c 100644 --- a/guix/platforms/x86.scm +++ b/guix/platforms/x86.scm @@ -30,6 +30,7 @@ (define i686-linux (target "i686-linux-gnu") (system "i686-linux") (linux-architecture "i386") + (rust-architecture "i686-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld-linux.so.2"))) (define x86_64-linux @@ -37,22 +38,26 @@ (define x86_64-linux (target "x86_64-linux-gnu") (system "x86_64-linux") (linux-architecture "x86_64") + (rust-architecture "x86_64-unknown-linux-gnu") (glibc-dynamic-linker "/lib/ld-linux-x86-64.so.2"))) (define i686-mingw (platform (target "i686-w64-mingw32") (system #f) + (rust-architecture "i686-pc-windows-gnu") (glibc-dynamic-linker #f))) (define x86_64-mingw (platform (target "x86_64-w64-mingw32") (system #f) + (rust-architecture "x86_64-pc-windows-gnu") (glibc-dynamic-linker #f))) (define i586-gnu (platform (target "i586-pc-gnu") (system "i586-gnu") + (rust-architecture "i686-unknown-hurd-gnu") (glibc-dynamic-linker "/lib/ld.so.1"))) -- Efraim Flashner רנשלפ םירפא GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 01 09:40:13 2023 Received: (at 67506) by debbugs.gnu.org; 1 Dec 2023 14:40:13 +0000 Received: from localhost ([127.0.0.1]:55366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r94gf-0005B5-1x for submit@debbugs.gnu.org; Fri, 01 Dec 2023 09:40:13 -0500 Received: from mail-vs1-xe2a.google.com ([2607:f8b0:4864:20::e2a]:49625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r94gc-0005An-9j for 67506@debbugs.gnu.org; Fri, 01 Dec 2023 09:40:11 -0500 Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-4644db3b384so684196137.3 for <67506@debbugs.gnu.org>; Fri, 01 Dec 2023 06:40:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701441595; x=1702046395; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4bxY8Htjq1HEwOwhhXBqSVwpsaflqEkmn6wkeyvo56Y=; b=DkzHu8O8QNhO/nQCdLbePNfEJo2B/ow2dUQ3MMLzLWcgTmtObj11NDEp0Oookc9tzf AIFzHLGcI7jbb46QcNPCOL5jOx50YLQ5ca0TJVQSgeg1OGN1glBCzWQ3Yu+KPFqDK4SG RGrc7ynsbJlwQ8Ec1NKGrvSvrE7vW7IueLXEs3QOf6V4c6CCkLewI3iZYkfSuS7dRxuQ 8Yg3kbazQkzysIpVOSu5QBgRnojvs/e/qPWER7LsxhiO05geSTDFH16FxC0F/vFSpSr1 wtIjA90fBd4ET9qQHJz/uSwEppK5+OrTSNfHmtKit/xq5Yb47ZgsbuLtG0Hu/mg56yhw y+5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701441595; x=1702046395; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4bxY8Htjq1HEwOwhhXBqSVwpsaflqEkmn6wkeyvo56Y=; b=d6y+Wq2gcYzB/nCOa8aqIEgjGGEX1C2PNRgM0qbedXHdfEmMNcUKDtYPqzri+o10OZ uoWlrEC2quty5iP0vCoDmm2S8WPoQ+bNOyd1BHAtlNyevJ1ZYVUDzlc+VIKH7D+EZl8t d+2p/hW4RGQpdgsO1aox4IwBk0sCUrp0P4DxDX0yN+f2Sd/sA2OMyjU8Napi90NiIe4h JAriAfeq7FPvmpO3p4EoDp0pSotGDPUu0xTgV1Oenbq/9OfR0wclaRBjdDYK8C7HYsjN MREwPPnM30lLCktxYJYwpFLXc/Xr1dMPrx6WVgwaBNkocy6y9OJ80fDLr6fGmGUEXOyK fI2g== X-Gm-Message-State: AOJu0YzDg6NiCYfC1e67toBmbmIGHajs89hzjxo6ExCw59dRcE45YdxJ jfWXS8SM+14Hmi4lXDwackZzaquZ997GBvhPgEoE+T4XLrX6fMy7 X-Google-Smtp-Source: AGHT+IEvKFcHSVPwTCCmOUI0yqUWB/NitgWm1ktRPBCow1+BeOQoOgCPg/++L94Z6xwA3/D7JP5UtAwlIIwWNvKD0hg= X-Received: by 2002:a67:e886:0:b0:464:41fb:b2ae with SMTP id x6-20020a67e886000000b0046441fbb2aemr10980794vsn.13.1701441595597; Fri, 01 Dec 2023 06:39:55 -0800 (PST) MIME-Version: 1.0 From: Jean-Pierre De Jesus Diaz Date: Fri, 1 Dec 2023 14:39:44 +0000 Message-ID: Subject: Re: guix: platform: Add platform-rust-architecture. To: 67506@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67506 Cc: efraim.flashner@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, The patch series looks good to me. I was thinking of something similar to this in order to add a procedure to cross compile the `std` target so that the rust package can use it. I was thinking that maybe the RUST-ARCHITECTURE could be called RUST-TARGET and that it could be a list (RUST-TARGETS) as some GCC multilib targets don't have a single RUST-TARGET, namely arm-none-eabi and avr, but the latter only has one rust target but the intention from the existing target is to add more as needed I think, as the avr-unknown-gnu-atmega328 target is MCU specific. But given that there are zero multilib targets present in GNU Guix as of now I think it can stay as a string. Cheers, -- Jean-Pierre De Jesus DIAZ Foundation Devices, Inc. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 11 06:58:36 2023 Received: (at 67506-done) by debbugs.gnu.org; 11 Dec 2023 11:58:36 +0000 Received: from localhost ([127.0.0.1]:52796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCevj-0005pf-IT for submit@debbugs.gnu.org; Mon, 11 Dec 2023 06:58:36 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:56321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCeve-0005p7-Oq for 67506-done@debbugs.gnu.org; Mon, 11 Dec 2023 06:58:33 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40c38de1ee4so24616235e9.0 for <67506-done@debbugs.gnu.org>; Mon, 11 Dec 2023 03:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702295890; x=1702900690; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=cQWJJqokeKgRJxoMMME5FPpJ1HN+zla+wdLU+ULFg7k=; b=B5TnuGYi+K1Hzxhv5T1N3UjobxfdQi037FpEYCo7nAau2z4w9PQE88a9WPrpprz80g Wm5pvHc8bm9wCts2Eq5m/fbSm0pj9JApyWsi8lrIRI3WTqixMMMQyri2djZaBP783R/V SynJa0fRd8HnVxNrZGAis9CtWy4zTkShx2lnwkd/NX/R2OQnenSJpCuvzRkgQ4Gz5S7E BDSmN4K89IAfVnE5E+5S+Cy94VeYhQHyQkp6Ox4TP/8zJq22mY02G0ZnJF7kR938pvY0 vhYy9X+n7hLm1Wxja1MKQzfdwKxtiozvz2MgBIwk6+JBX1hIQ1sC3+YmslzahWlevzhM b0vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702295890; x=1702900690; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cQWJJqokeKgRJxoMMME5FPpJ1HN+zla+wdLU+ULFg7k=; b=Xd7cuva4NpGC+gDY8NCbVVZs4iQHXWYlQayiX4Sh6CeJxFc/nYOjN/hjny/JQrD2/u 6Ur4JDm+ZN3wSQZzVHvZFZ51p8Bhn9jYTRVqV4zBNOhEwZrNOYh2ucpa84zws3vw8NSu pl4wAZAx8xF3ZW9y/D+aNKuewt38ausVwY4c1mT36YL34oqN/zN7HTUWUHV25oaUttCW n2EL6YDDQT7flVUCrize4+8JOKrH6qMYNXglQdcnGIsuhdj0UG5OA75EkkK2xrcxEdVw J7DC+/gE6V866V6Qfmomeh5EaEZMYPqsdlm9K59dNAZyQQurmE8zB/Wk4fhqn1IKXiEx LOlw== X-Gm-Message-State: AOJu0Yyvq0YB5OO5afW2BF/GwqHPQMtwa4PTyPWjbrH67YrL5arwNkCc 77ZFbu3EMfANmMxw2JT7aIE= X-Google-Smtp-Source: AGHT+IGf5dWGYPGO5RP/WHij33Hjre/iMd1DCcVbpuxdJuAl8Wk2M538aKk6lcxA3k5zWut7UrgDng== X-Received: by 2002:a7b:cc95:0:b0:405:3455:e1a3 with SMTP id p21-20020a7bcc95000000b004053455e1a3mr2216086wma.17.1702295889916; Mon, 11 Dec 2023 03:58:09 -0800 (PST) Received: from localhost ([188.120.129.233]) by smtp.gmail.com with ESMTPSA id w7-20020a05600c474700b0040c41846919sm6680618wmo.41.2023.12.11.03.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 03:58:08 -0800 (PST) Date: Mon, 11 Dec 2023 13:58:07 +0200 From: Efraim Flashner To: Jean-Pierre De Jesus Diaz Subject: Re: [bug#67506] guix: platform: Add platform-rust-architecture. Message-ID: Mail-Followup-To: Efraim Flashner , Jean-Pierre De Jesus Diaz , 67506-done@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2m5k9b/yIm09FqZP" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 67506-done Cc: 67506-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --2m5k9b/yIm09FqZP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 01, 2023 at 02:39:44PM +0000, Jean-Pierre De Jesus Diaz via Gui= x-patches via wrote: > Hello, >=20 > The patch series looks good to me. I was thinking of something > similar to this in order > to add a procedure to cross compile the `std` target so that the rust > package can use it. >=20 > I was thinking that maybe the RUST-ARCHITECTURE could be called RUST-TARG= ET and > that it could be a list (RUST-TARGETS) as some GCC multilib targets > don't have a single > RUST-TARGET, namely arm-none-eabi and avr, but the latter only has one > rust target > but the intention from the existing target is to add more as needed I > think, as the > avr-unknown-gnu-atmega328 target is MCU specific. >=20 > But given that there are zero multilib targets present in GNU Guix as > of now I think > it can stay as a string. I like rust-target better than rust-architecture. I suppose we can look at changing it to rust-targets later if necessary but currently rust cross-builds aren't setup to accept a list of targets. We can always change it later if necessary. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --2m5k9b/yIm09FqZP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmV2+U8ACgkQQarn3Mo9 g1GiIA/9H+1pF1u8mmkGyAC/yZsYZRrTLzNFNM/f5/Z4iBWe1uwH7gm48W9FESx1 IAf/0a+crknXOVFBIrPpOIN75UHH7xvQ1gRtaY1ttHNYgQg8tDgMdTzUE3g5juKp 8VjPlORtn3TTOsoibl8WfA3nisPUvYz9xsUFp2fhwL9BH6fIdVx5GLcFLkvG5xs3 49Ew0f5vsBQbHRfjXgK9CZWbblpBI8MlOiqThT0G/sXgpdVBk9Q3msR+9BNDa5Ar gwMBcT4ELAaPPkt3+RLqyrCt9fSA/U6vvIj486GeDRASgRrB3KcrQxLmTnfn3On0 HyJpD87VHMz+ny6KEtLO2o1yTuh9/rxkVVaz2VNH8598qyxKGKQg6tJSc37+P+cl ngBCYy6I79VxjHI3ifgag0Jpn92/VbmECmj6680rc54Xu2SvDiJ9LXSO4Omi4JiC dUI+/uGcKGzGCHo4OG9E9a7cXmuVQsiLh5tPUfFLFrO1FkkA135V1tddBuMhP+Hr DLQ849BDyI3lJjO46aGaY/QCP2cWhhctUzzEaBRVH/UXR+fOEntj+PmTROENYfPv QfEZjSaVKSm1J1L6U8vMZfovhKZJ+XEWrxOBJrTirY2Rc0ozaVg7JLY53DZmq/NK dOVzM2LWx0QSB9E6WTqCayw+6waDi27hSJYDtMSpU2mzxKtEH6Y= =5R6u -----END PGP SIGNATURE----- --2m5k9b/yIm09FqZP-- From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 11 12:32:38 2023 Received: (at 67506-done) by debbugs.gnu.org; 11 Dec 2023 17:32:38 +0000 Received: from localhost ([127.0.0.1]:54527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCk8z-0002F2-SD for submit@debbugs.gnu.org; Mon, 11 Dec 2023 12:32:38 -0500 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:59768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCk8x-0002Ep-He for 67506-done@debbugs.gnu.org; Mon, 11 Dec 2023 12:32:36 -0500 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6d9e9b72ecfso2459348a34.3 for <67506-done@debbugs.gnu.org>; Mon, 11 Dec 2023 09:32:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1702315935; x=1702920735; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=e5ehCxaz3cx+NAxTOSVZ8XPCQQ1GSRAYeZ0vb5Btrxg=; b=Q4vcrKPNMPDXISFXc/0T1lw6x+wSwdldnxidze/CYIWTOT2HgDieNFL0ezoRBK+bvN dIOxpIdLBn7jb2HSQfhqgNT7FMa7QIpmTP4ZnmosDlCFCKbyU85PmOtPkDSWUyNiefhQ VegA8bDAYuJIISmocUDuBOTPtNG2DhGgejpS2YzkjmRHD8YQPnF/xMjFRrpx2ye4Rpdy jWV53HsIGVmRdFXbl0SsEvkoFNHXgUBe7wNgsmqMZ5FfUTKXknA9WQk2F8DM8Jmx0Gtj 4t5mtiB+EAo/AxD46t0SKm/ADsANZsVGdBigRgF1sLErqeuVW+K19GYnOPuBcRWOe6q5 a9Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702315935; x=1702920735; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=e5ehCxaz3cx+NAxTOSVZ8XPCQQ1GSRAYeZ0vb5Btrxg=; b=ctWRHAvlgxPCeTVEVlmoY+9uMHLGzK3kvOGgZCqznZIM2OwBeXFHYiTQs2QGs7k9ZC yHByi0T1y/eidRMKg4yfdgTJkC2sbRBK+Xj4pOLhLZeZ0l0ylR6/6ugAk712NQKjnCcx xMo6CrupxFjCUGYovdA4n5R+OIGoYJOMp1Zkdc2KLbxxJ5EU4+bkNlYPOtCpnjoAV6+f 5q4ftwloBAlAq5WcJP3Z+3uV2+DaSbe3srSFrCXkVhZZsTmXiNw2Vn/t+s+Vnm1gaz6v Zet1o4xslpyoHFobWV4ONEWJtSTdfRGBV6zJJYlRHVgJv02va62vSn+PktPZNkIu/anC ErZg== X-Gm-Message-State: AOJu0Ywx/BLXyEElPhs4hFTnh69dR6URYWi6DoEWQ0W1qaLQPIZWMMw3 zOxvhtGbpoxnnj3YW2LhDQ/WnDreHlBhJG9OTFmabuxU+F52E5ozSc4= X-Google-Smtp-Source: AGHT+IEcQHRJJZ5j68ZoNu2wSDR2h7ErmkNIk8DT54is9DXg7GfztweyQLGgSD1enDiDSM99WrKrZpGaoed5tSDOycs= X-Received: by 2002:a9d:4d83:0:b0:6d9:9f4f:bf11 with SMTP id u3-20020a9d4d83000000b006d99f4fbf11mr5466325otk.49.1702315934924; Mon, 11 Dec 2023 09:32:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jean-Pierre De Jesus Diaz Date: Mon, 11 Dec 2023 17:32:03 +0000 Message-ID: Subject: Re: [bug#67506] guix: platform: Add platform-rust-architecture. To: Efraim Flashner , Jean-Pierre De Jesus Diaz , 67506-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67506-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >I like rust-target better than rust-architecture. I suppose we can look >at changing it to rust-targets later if necessary but currently rust >cross-builds aren't setup to accept a list of targets. > >We can always change it later if necessary. Agreed, should be changed later. -- Jean-Pierre De Jesus DIAZ Foundation Devices, Inc. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 11 15:54:16 2023 Received: (at 67506-done) by debbugs.gnu.org; 11 Dec 2023 20:54:16 +0000 Received: from localhost ([127.0.0.1]:54761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCnI7-00027u-UE for submit@debbugs.gnu.org; Mon, 11 Dec 2023 15:54:16 -0500 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:61713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCnI5-00027g-Ll for 67506-done@debbugs.gnu.org; Mon, 11 Dec 2023 15:54:14 -0500 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-db53f8cf4afso3977677276.3 for <67506-done@debbugs.gnu.org>; Mon, 11 Dec 2023 12:53:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1702328033; x=1702932833; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mVVnWfId1L/mdta01xF8+Yue7Kuf8y0yi/u/pQZUVnQ=; b=XqfX7HMCpMBLs/F5p6FJ47VfiWVYigD1uRXRHz+r2I2wGDxE4EWkMlN0Mu3W8QlBYL MBZaN0v1v0YmJehg/T1DWOKd8i9cqpmfdPQ18ty87PCIbRMFNl7sgHb++INAJAWRA6vA sMeCAuqd987WyExRlARunDhigsVDZv78HCfOF3DXy7QnvsgwnBRJgapw0oi+v4PwRDc3 vdskR6CgeFG5MVP/sw8MZbAQS9PN8sd++OcTFiK5oqz4Bz6GmxOFfqS96sNLf+kcwyKE jYVQiAUEBU/LWPiTSZlE9YohlZqMian59c7yXtNfqP/O0bHGbo6roHLqPEtGbedyXc50 +yYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702328033; x=1702932833; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mVVnWfId1L/mdta01xF8+Yue7Kuf8y0yi/u/pQZUVnQ=; b=Fb+VpGNr8UuPnoKGd8nZ6XstQZpI9LKOWHrO+TZilYrj21ejo501o4e+w3wBokMW1P d5O67ZwDf9f8nCpx9ODNVyzbYeBnGw+CnNcNZYjH3/j1I/IpLxAsUUdvXpmePVc58ktM CG2Qqo2lBvopxedFubDI9betZ5sC7FXh8uMr+vdB4BE/Bxd7QOoal8NDlBiu+6zi5fWb 6133AhuOGM33YCcn90j5ILn24V+jz/px2DxmGtWFYSms4mxaBChLNruOt6NyIkJ9AoRm HIJYWTuS2TZm86ANzCSI3h32fzHk9orPa2eJMC+JnUhlG1t68q1DDwHlIQYHn4zpBVc5 p3Iw== X-Gm-Message-State: AOJu0Yw1kaUyOsIGnqj/NXnWcyt/epTOaOMi29SHHRBg4sTi4OCJPCoV AH6NKY6DCWgQpzvYE7qoj44/vv7SOSge09E/eOQDZg== X-Google-Smtp-Source: AGHT+IHfc8XyHzKFXtclafhFckl/tu6q2I8U4r7FKVjAMP3vOnI6VD2NkxMLdlS5KAxcSvH7suBGv/jIWsliio3oAjQ= X-Received: by 2002:a25:c094:0:b0:db5:50d0:4633 with SMTP id c142-20020a25c094000000b00db550d04633mr2743184ybf.42.1702328032908; Mon, 11 Dec 2023 12:53:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Greg Hogan Date: Mon, 11 Dec 2023 15:53:42 -0500 Message-ID: Subject: Re: [bug#67506] guix: platform: Add platform-rust-architecture. To: Jean-Pierre De Jesus Diaz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67506-done Cc: Efraim Flashner , 67506-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Dec 11, 2023 at 12:33=E2=80=AFPM Jean-Pierre De Jesus Diaz via Guix-patches via wrote: > > >I like rust-target better than rust-architecture. I suppose we can look > >at changing it to rust-targets later if necessary but currently rust > >cross-builds aren't setup to accept a list of targets. > > > >We can always change it later if necessary. > > Agreed, should be changed later. This commit is causing a world rebuild for me back to gcc-mesboot-4.9.4; however, CI only includes 182 packages in the evaluation at https://ci.guix.gnu.org/eval/972727. Might it matter that I do not have substitute servers enabled? Greg From unknown Sun Aug 10 07:33:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Jan 2024 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator