Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp690983rwb; Wed, 28 Sep 2022 07:59:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7zQdEvuq75PGojdVt0Lvew6+Gw3qXqq8ra/gpve8M5ffQjcw7sCLrYROkRoKXIEZYz0Cuk X-Received: by 2002:a17:907:96a4:b0:783:8587:9119 with SMTP id hd36-20020a17090796a400b0078385879119mr14172916ejc.12.1664377184790; Wed, 28 Sep 2022 07:59:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664377184; cv=none; d=google.com; s=arc-20160816; b=njyP2L3i3EkXtOO7E+Mk4KqnwGnjSi1kG7IDGjaTxNgfTm1I7kAac2BZ29X1jclty4 gZSbQKYjBmGm9YhToe5oJmUVUdiGOWmE3v9iuIdNkuFoYHKpyOpyLBQp47mVqFtpSzG5 u5WLAkuqxVIjrxSwN0vOi1LqCzCYMxgdQxdOCnY/C3OECBt7BmDlRGIewxijkBggNsTb yLo72YSODoxAANrwnrKhK7+7Y5s8YSmrfMb7F4X8afuufLwmSB+WtgPPOisNLvz/dnNa IHILJ+58DR89BwrWAPF6GRq8kaqbtaoFeE2E8IyIVELIWFQ1lR76wfFO1wG9X54BuFqc mNsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=b++TaSXpJUvwsLorqpvjYCrKiWF0sRAAlUL/l9wAjnM=; b=yNZF2q9H9glXJlWizP979tzxx6x+guHdYXJXDBjX9+pgFyRZkIyHZio5LhgwJzeKdS Zi/SwaqG1ruSSxDvJFynr5m30jdPf5ZUvU7Aa1tbR1zVd/gMZiXx4jP+Kzt9PElJ3R5S 6AiIWBJezPm4h6Ufr2tqSk5v8QytrIJM4xztwd5shuIgQC0dT6qnY5F2vkrdCkfiUr94 Jh8qU6kbtqgZIhb6I3k3YjgFeItfa/+FRCXtvE2N+Lto+mBQ/9OkyywsdD3qMr13HGlO vmbAA+wWxIRDeOVymjrj5pZgkhP+S1QaB2OC1/UPja3MFRFy6n8TaMrVwS6bpRHylUtU 4rGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a170906375100b00783ef8f419dsi3940333ejc.1008.2022.09.28.07.59.19; Wed, 28 Sep 2022 07:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234292AbiI1Ot1 (ORCPT + 99 others); Wed, 28 Sep 2022 10:49:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233695AbiI1OtY (ORCPT ); Wed, 28 Sep 2022 10:49:24 -0400 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B56938E462; Wed, 28 Sep 2022 07:49:22 -0700 (PDT) Received: by mail-wm1-f53.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so1163069wmb.0; Wed, 28 Sep 2022 07:49:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=b++TaSXpJUvwsLorqpvjYCrKiWF0sRAAlUL/l9wAjnM=; b=ks9jU2reZprjujw6DQf+Ec0FIgBM6wY72U2sjLNWyiIiGmwFyc/xocmTC5JnaIsv5r C54GvNxK1fyJbqBgl/AouMbi7EE5a47p6ZpCNj/KEB/R3DpdALgWfqig6RBB9D99kzdI qKhttrHYqCd6p5EZdUrUnAgV9YL7vX599ESKydeiMyhfQfxTDtb9WNWpk+NWiGRv8KNs r8LmaV8Ud3zp1/GUMhjJpEDKYbrvZiMDRP+v/vWN/C9tyYUtRRy4J4tt13xeTKwc1hID s7V05pJ+2o+zM0lOVMcxE7KbY39Y8uf1eeZLZIiUKQuNuWddhwulvUfF/XmvmitcpOxz S7og== X-Gm-Message-State: ACrzQf3UMZyPZ7ubQDfRqa9FIRmQRFN/fz8IOdzZRTRNZSjyEz27n37L LOXliYB1Hemt352ivQL33IE= X-Received: by 2002:a1c:7315:0:b0:3b4:e1b8:47b2 with SMTP id d21-20020a1c7315000000b003b4e1b847b2mr7119813wmb.165.1664376561208; Wed, 28 Sep 2022 07:49:21 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id b8-20020a5d45c8000000b0022ca921dc67sm4325744wrs.88.2022.09.28.07.49.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 07:49:20 -0700 (PDT) Date: Wed, 28 Sep 2022 14:49:16 +0000 From: Wei Liu To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Kees Cook , Alex Gaynor , Wedson Almeida Filho , Finn Behrens , Miguel Cano , Tiago Lam , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Wei Liu Subject: Re: [PATCH v10 20/27] scripts: add `rust_is_available.sh` Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-21-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927131518.30000-21-ojeda@kernel.org> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 27, 2022 at 03:14:51PM +0200, Miguel Ojeda wrote: > This script tests whether the Rust toolchain requirements are in place > to enable Rust support. It uses `min-tool-version.sh` to fetch > the version numbers. > > The build system will call it to set `CONFIG_RUST_IS_AVAILABLE` in > a later patch. > > It also has an option (`-v`) to explain what is missing, which is > useful to set up the development environment. This is used via > the `make rustavailable` target added in a later patch. > > Reviewed-by: Kees Cook > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Co-developed-by: Finn Behrens > Signed-off-by: Finn Behrens > Co-developed-by: Miguel Cano > Signed-off-by: Miguel Cano > Co-developed-by: Tiago Lam > Signed-off-by: Tiago Lam > Signed-off-by: Miguel Ojeda Reviewed-by: Wei Liu