Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7776002rwl; Tue, 10 Jan 2023 05:22:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXsio98ngTYGa3JdTUKvrhtCmXXccQhOLtxM/5GF0mSAtZqde4eEUs0pXkhb/88XsjgE7o/+ X-Received: by 2002:a17:907:7da4:b0:78d:f455:b5dc with SMTP id oz36-20020a1709077da400b0078df455b5dcmr72142319ejc.28.1673356979577; Tue, 10 Jan 2023 05:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673356979; cv=none; d=google.com; s=arc-20160816; b=upfiKItpxLNAOFGUBlHabAjYV/V6xFS5PBCnZEZSobsIaDneD/nLzNn+NkEf2xss2U 1qjlqprK0KlrMQnTfykh4jCLGTvxGSRukYJqD4LaNbUbhyqaRYe5zrp/R4FPyH+6qQe6 N6gIPITlCECwBGeT9kLBJlwyBYHPwcThsrcneETtWuOLU/q9CsFy8LFmutP5WAP6e6rU OpaGAfVyDaojaaQqPS+fvRuft3eB52Jqt9lennAaq5mk/iV9c0FYUNFhUA1szNI++xWJ fedhXBRisOO1bKn5aFELM/Vq/0ArK88waO2/wBrSlhTw2hESwVrM/zh3rMXO84EroMJQ DJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2vRpvlz/nTbkuUWpiT0ilG/Sg8qqMAAl8bfBXBzFCxg=; b=IQJm9sxThtEpAPpbd/17j39r4Ssr+SR5gkXRydAiS5tCP9FjzX9RLX0wepKQCqnqQH V3ii6TKhASxj3BDlxn25LKzvCwm0O7bBF/A0xo8+Q6tt0glDCraX/X+4RbaV3PitySvW DPoDwxYgKY5HZIdj2OvCGjBLaRFU32ciEErqVy0SY/WXXRoL69FyvLCvAWDXOPbSIcl4 QFsKtd1cSrAbIe2ngDzWaxBQn5X0f+FJauXeqYWBhqbz8I5XfGywKFe1GfYpeHuqoiMK 6GeQrXI1SfawdcSZezKdBa9o1dE3+S45W0tRvZpMI9lUAI0WYObDupfhzUj/HUaJYwxs c3hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iZLPUyiq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb44-20020a170907162c00b0084d4707b50bsi5867215ejc.698.2023.01.10.05.22.46; Tue, 10 Jan 2023 05:22:59 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iZLPUyiq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238454AbjAJM2t (ORCPT + 53 others); Tue, 10 Jan 2023 07:28:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238402AbjAJM2i (ORCPT ); Tue, 10 Jan 2023 07:28:38 -0500 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B1C45F98; Tue, 10 Jan 2023 04:28:37 -0800 (PST) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-4bf16baa865so151042657b3.13; Tue, 10 Jan 2023 04:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2vRpvlz/nTbkuUWpiT0ilG/Sg8qqMAAl8bfBXBzFCxg=; b=iZLPUyiqSibhLkBnGrBg3hGw/AMODHqYyvgvfr2R0O/W7SxuuDn6gFWytT2k++2EAy HczFFtSB/qhgr2f28uXRl0+zWfU/7MyOBwKXvKOfQ2+5YLVIGPKOYHchXMbzGL8eGxYO 99ff0hquQQ0oC98c+Dt/gHwxYsviqX5NbsfKsNa0QySsneUCNurnCeEqGczdy0lnkKRY hIuExqvBgRRtwS6luRBMKaVVm3E7ta64yQY+oxG/EzVm0RmPurL+LXtxBx/Cx9URVulo i6EaKBELkj+AHHg1ejZyDFOvdWAK9HsIT6fLlgt8ytGSty0HtfM25Wq5SQb+7svTpzLQ MaEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=2vRpvlz/nTbkuUWpiT0ilG/Sg8qqMAAl8bfBXBzFCxg=; b=u0tgp45ziOg0XdgjquieWhinUKdb+0Eyw/uE6k0xzzMQcOoCoMbN6jlRWp6AUkqUQl cwZ8kpqQsnWTL6pt1j1Dq+bWIgNUEnsh/+eOmr6O9BpzDp2dmQJ1MOmyHAXQmCuoyvc5 6eyCniwjbEz+lzYTZZJCy6Bn19WCxla59jYEpWNIpCblhpa4/rIV9hOp3/jDffWvnwsl +emiCxsYTh3QaiTl1kGCwA6tCiBcX1/EZii5lnrulEbfYufJnlFyW/SFueVkubo3GPII xbbGTnkKc1r5/MI/xyaJmj/j59MamkvpDnSajluIBaQRdDD7Ys5dlVqqSkNes4tz56c8 3pow== X-Gm-Message-State: AFqh2kpWI1nUjA0mis8OZpezSXS0GnU2J2awnvw6lBVQZzheZfZmW9QH Z74zDL/v1b5keSceEpLXa4YuG5HjqiclqgybLIU= X-Received: by 2002:a81:b60b:0:b0:45c:d900:f30c with SMTP id u11-20020a81b60b000000b0045cd900f30cmr1581382ywh.256.1673353716487; Tue, 10 Jan 2023 04:28:36 -0800 (PST) MIME-Version: 1.0 References: <20230109204520.539080-1-ojeda@kernel.org> <20230109204520.539080-2-ojeda@kernel.org> <1E542F5E-220F-4061-BC71-F37C76616F34@nyantec.com> In-Reply-To: <1E542F5E-220F-4061-BC71-F37C76616F34@nyantec.com> From: Miguel Ojeda Date: Tue, 10 Jan 2023 13:28:25 +0100 Message-ID: Subject: Re: [PATCH 2/6] kbuild: rust_is_available: print docs reference To: Finn Behrens Cc: Miguel Ojeda , Masahiro Yamada , linux-kbuild@vger.kernel.org, Nathan Chancellor , Nick Desaulniers , Nicolas Schier , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev, Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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, Jan 10, 2023 at 11:16 AM Finn Behrens wrote: > > As I always use my systems rustc/bindgen, I always get the warning, which already clutters the build output a bit. But I see why it is helpful, so not a fan, but this patch is reasonable. Indeed, if one uses a different version, it may end up becoming too annoying when running it during build -- it is something I worried about when adding it back then in commit 11c0cf1e8c06 ("rust: run rust-is-available on build") in our repository. I think, for a while, until more people is accustomed to dealing with Rust, it may be worth the pain for some of us in order to help to catch bad setups, since otherwise users may not attempt to check with the `rustavailable` target themselves. In any case, of course, the "too new" warnings will go away when we reach a stable version situation since they will not be needed anymore (but we can also do it sooner than that, for the build step especially). Thanks for the review! Cheers, Miguel