From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 692FDC32771 for ; Wed, 28 Sep 2022 14:49:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233853AbiI1Ot0 (ORCPT ); Wed, 28 Sep 2022 10:49:26 -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-Google-Smtp-Source: AMsMyM4BICEsTCiOwKDYNZM6kA80a/1z/SDCkkFsgQ5RHyVrv0H+SFEHVYvZEBLAVJfET0dprJibhw== 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> Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@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