Message ID | 20250911214425.3687188-3-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757627089; bh=7wbvGBs+CuAQOESLLl0ifxRRzwBf3u8TpUzu08q7adI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=CKrYo/5IkHUrOx7yOepB6sSj8EgHpb3UECVcVbChqZuMbcXyW2pSTl0sYoJjj3Y7+ KQr0FWX8s4PSqB92qlybDJtns5MBLuHbMg2Vs8yRx/7UpsnJtJM2dq8z/RnY54CIHQ l0w1gQUKO0mzSDQAwfk8wW5yYjqXsKm9GVVVQkhR1Xvhxyx1P9SRpwcd+9r2OJBou4 Ag1+xGr1Seojwc8XWQQvLSop73zLYFkv++fs7qE5G74cjPtnaUzTlZa7U+84RWHdse JzV5gZ1FpFZwx+munwNLH0GXx1zhsP0QTZqRd3lCDHFP705z/OK8rkZH9xUYVLAI+7 8flsiTKeN1sRg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CF2D367B12 for <u-boot-concept@u-boot.org>; Thu, 11 Sep 2025 15:44:49 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id whj48NBVb0Za for <u-boot-concept@u-boot.org>; Thu, 11 Sep 2025 15:44:49 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757627089; bh=7wbvGBs+CuAQOESLLl0ifxRRzwBf3u8TpUzu08q7adI=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=CKrYo/5IkHUrOx7yOepB6sSj8EgHpb3UECVcVbChqZuMbcXyW2pSTl0sYoJjj3Y7+ KQr0FWX8s4PSqB92qlybDJtns5MBLuHbMg2Vs8yRx/7UpsnJtJM2dq8z/RnY54CIHQ l0w1gQUKO0mzSDQAwfk8wW5yYjqXsKm9GVVVQkhR1Xvhxyx1P9SRpwcd+9r2OJBou4 Ag1+xGr1Seojwc8XWQQvLSop73zLYFkv++fs7qE5G74cjPtnaUzTlZa7U+84RWHdse JzV5gZ1FpFZwx+munwNLH0GXx1zhsP0QTZqRd3lCDHFP705z/OK8rkZH9xUYVLAI+7 8flsiTKeN1sRg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id BDBDF67B0E for <u-boot-concept@u-boot.org>; Thu, 11 Sep 2025 15:44:49 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757627088; bh=WMSIn+FvUSIrkZD8mz78AIVc2el1zlp73f/W2TNGoy4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M+WLzhMoYXjr9EcvvI/ZqsZiYOwxbIhEijK7ORhi8UzjI1iAWpouXrdEQ4IGwDabr 9MfohMUWUfkw2xWj2dTm/a6f6ZrcojaYLj5/vERL2Dx21CEbYlOog5fu1a/jF2PCtz U8SmHOtaDlRf3BDcLWWvBaLqodRUgbZGzI23xzNuujVrTmPM2/MgOC09hqyq5EVcAR O/JBKk7NbGgloxCnHQsnOSLad6qijNesZf/uYi2okBOmQwlLvmpSTvalheN7+RvYoA Ve5MIRCVnYROZEFm5fgGhenjTrvv25PWFd5SmtG0dxHoxRnlux5bzu4scC0y1GV7WS nOVLQsXHU2uqw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C2DDF67A5B; Thu, 11 Sep 2025 15:44:48 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id 0poiGW4QsINm; Thu, 11 Sep 2025 15:44:48 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1757627083; bh=eBmkTSwQ7BAEjxZt16lQuZY517dfYlouU6CA5sNWTq8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kSR67WGM+7DGJKnuX+wPlCC365pISD5Hpy1DyJpvzi3nzvP7d5UdAqVRCzUnLfTqv jOsMur9uq17tmD1wP/bUEOhzkSdwqOiwW7Kg7FzoK51XU3miD0JZvHbavi0GL0h/Zj Qb8V3l5ZVmyAvvFU5XBL0xzpdxjBlwE0HwUmbIme8fWGBq8Gf59PZmUk7RmqAx8Xu7 2ChPNikZ/F/z44jR8kd8qgz3DlT1o7EDJeQFplIJjp8mcJJdp0ifLKE0yPbKhXP/ca NAjtH7ElAgL/yz1PtKyt2Vdw3AEZuubsEXZCKFH4KBeFYwu8fGKwxeQwOUcNJPpIEF 6GC4B2y+QGx5g== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9FD8467B0C; Thu, 11 Sep 2025 15:44:43 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Thu, 11 Sep 2025 15:44:06 -0600 Message-ID: <20250911214425.3687188-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250911214425.3687188-1-sjg@u-boot.org> References: <20250911214425.3687188-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 4HACLPYW5LPHLJ53EEB5ERF77D7HFXYX X-Message-ID-Hash: 4HACLPYW5LPHLJ53EEB5ERF77D7HFXYX X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org>, Claude <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 02/14] docker: Provide a rust toolchain List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/4HACLPYW5LPHLJ53EEB5ERF77D7HFXYX/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
ulib: Add support for Rust main programs
|
|
Commit Message
Simon Glass
Sept. 11, 2025, 9:44 p.m. UTC
From: Simon Glass <sjg@chromium.org> Install a Rust toolchain in the CI image so that it is possible to build the Rust examples. Co-developed-by: Claude <noreply@anthropic.com> Co-developed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> --- tools/docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 38e1f3a941d..ba98a293e4b 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -313,6 +313,10 @@ RUN echo uboot ALL=NOPASSWD: ALL > /etc/sudoers.d/uboot RUN useradd -m -U uboot USER uboot:uboot +# Install Rust toolchain for building Rust examples +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable +ENV PATH="/home/uboot/.cargo/bin:${PATH}" + # Populate the cache for pip to use. Get these via wget as the # COPY / ADD directives don't work as we need them to. RUN wget -O /tmp/pytest-requirements.txt https://source.denx.de/u-boot/u-boot/-/raw/master/test/py/requirements.txt