Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2036237rwl; Sat, 8 Apr 2023 06:42:56 -0700 (PDT) X-Google-Smtp-Source: AKy350Zqut94pQyci5kIaKtzT/slSGKJkTtkXAufkhc8K0tDvp3QClRoCyWReftwQ3EDDRSUmkeW X-Received: by 2002:a05:6a20:ba85:b0:e6:b780:2a60 with SMTP id fb5-20020a056a20ba8500b000e6b7802a60mr1740142pzb.19.1680961375861; Sat, 08 Apr 2023 06:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680961375; cv=none; d=google.com; s=arc-20160816; b=jrPrszhKgPX8O+6arkWp/EDbhuDyS0NYWm6XJR2iRnmuNXlc+2RHJlPrBLtUgxq65m Inci1BnB5RjJC+uggyyr9tTGtHqs6JP8+ARGOi17WWVri0DZ7+sgA/vzX2xlN4RFuaYY lOifn3hYmq0K5fROAQN/9IsJoMxm3151WiOCLw9N2DuqzbDphyFMYmqdRpl9qPr0WDo/ loGtdGidtbInYgZiSj2SjwkGJA+vmBWV3BSZlraTnzmhHxZeeAjSSBidnCuV/iptLHph RgeK5cUVoXgFjxjgv+OloK6jf85/V6FZUjbNq+wRbHqoo4NMV5Qm0qRgTg2/Pyjmg9RD h9Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+rvCJwQnhgHtRPTA4FpOWMqeq2UPBg8NLPxv4nEuxX0=; b=v5t/UVWWkskYjvMgkjuvXZaBEiEUH1gPrp9permp1qJ2S8u0Ba3nSMLMoEkpuLMCiG WYfkDDW5w0I5Ho29tyFAR8yCBza8Z6uMGFMCHlGTAG6hwwG/xNCNzt2I/9hPjry4CBnr TMdD1F9dIJwL5xY96z/sIcEGn1VgRPYvCUjTUkpnqshsIG0OjP83D1DP1X1FCq5e8ySc ruKiIs8cqYm/YeZLGvhpjuvRoni6DLUCqXcqUOMEJ2XEMojERMG1XU8qkAPadU8eVNVi 2+gW09SJG6JGHPK1+C332mgxv1qZxPsIhpkydwIUWg6c/kOI45c+sGFCEa9Sa+7vKg6N HDCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j8wXnh8j; 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 k3-20020aa79983000000b0062a10aff4b0si5948000pfh.325.2023.04.08.06.42.44; Sat, 08 Apr 2023 06:42:55 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j8wXnh8j; 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 S229756AbjDHNmH (ORCPT + 99 others); Sat, 8 Apr 2023 09:42:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbjDHNmG (ORCPT ); Sat, 8 Apr 2023 09:42:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C832CD53C; Sat, 8 Apr 2023 06:42:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5F67D60959; Sat, 8 Apr 2023 13:42:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5255C4339E; Sat, 8 Apr 2023 13:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680961323; bh=+rvCJwQnhgHtRPTA4FpOWMqeq2UPBg8NLPxv4nEuxX0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=j8wXnh8jcxeZy5hlnL9j7yhf1PfZDoBKolcpy8BAI3zytnC6o3YeEcQ21+RGU398S lwlY1lX1+rGmxa3RW1a4ssgZVrMNHXDCC6WIPr8GtoapHSeRq8QJ4+1MkRoPe/q1co pBZRK9TS0XYB4rlCrpX5ng+gaXL15uri2QVjR6Fo1l66G9KP7d7+87JoNRfKRWutR0 HW8KaNz2q7SbsqNYO02xV8LQKQ8X11uv0ovd00bz1EsLtjqCS292zKcsS54/wMPkBY +uoYQ0p8nmdgW2/VffK8mE2GMfG1FpQRopt7rW1Yx0C1UStZhRxsOGAwfAxnow3PDU QQ1B9czlK0ofA== Received: by mail-oa1-f51.google.com with SMTP id 586e51a60fabf-183f4efa98aso7338404fac.2; Sat, 08 Apr 2023 06:42:03 -0700 (PDT) X-Gm-Message-State: AAQBX9dA5dw3P+QzJm+QO4Nf7oxi0zIrxD8wfTvooJpOm7DS9gZ084xA Nfodljys+vmFyg7Xrr+jn2PFxFWa1zyZs9s8Z9E= X-Received: by 2002:a05:6870:1119:b0:17e:d9e2:a55c with SMTP id 25-20020a056870111900b0017ed9e2a55cmr2268082oaf.11.1680961323046; Sat, 08 Apr 2023 06:42:03 -0700 (PDT) MIME-Version: 1.0 References: <20230407070517.204676-1-andrea.righi@canonical.com> In-Reply-To: <20230407070517.204676-1-andrea.righi@canonical.com> From: Masahiro Yamada Date: Sat, 8 Apr 2023 22:41:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts: rust: drop is_rust_module.sh To: Andrea Righi Cc: Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , Tom Rix , Eric Curtin , Martin Rodriguez Reboredo , Daniel Borkmann , Neal Gompa , Arnaldo Carvalho de Melo , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Fri, Apr 7, 2023 at 4:05=E2=80=AFPM Andrea Righi wrote: > > Commit c1177979af9c ("btf, scripts: Exclude Rust CUs with pahole") > introduced the constraint "!DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE" > to enable RUST. > > With this constraint we don't need is_rust_module.sh anymore, because > 'pahole --lang_exclude=3Drust' already has the capability to exclude Rust > CUs. If pahole isn't recent enough (< 1.24) to support --lang_exclude, > then DEBUG_INFO_BTF can't be enabled with RUST and is_rust_module.sh > isn't used as well. > > In any case is_rust_module.sh is obsolete and we can just drop it. > > Link: https://lore.kernel.org/lkml/Y+p2xKIN6TJnQinK@righiandr-XPS-13-7390= / > Signed-off-by: Andrea Righi Reviewed-by: Masahiro Yamada --=20 Best Regards Masahiro Yamada