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 4B641C636D4 for ; Mon, 13 Feb 2023 15:46:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229642AbjBMPq1 (ORCPT ); Mon, 13 Feb 2023 10:46:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbjBMPqY (ORCPT ); Mon, 13 Feb 2023 10:46:24 -0500 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBB761E2A2; Mon, 13 Feb 2023 07:45:56 -0800 (PST) Received: by mail-yb1-xb35.google.com with SMTP id s203so9763473ybc.11; Mon, 13 Feb 2023 07:45:56 -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=rWSszm8aZB3aUFiYSjOVCVw6a/Ka6EAvUjYk9G4QlIY=; b=KHq6MeRggkI73FuZyGP5IiqEoBu4yxiJvMp2pJABimlh9y3e64Xu+Vdr6qe01FK58u HktPG5IU6v8lg6GKgdADWnKsMbg1AQwzlFpQArU2N4MvFYZlnmQeUdrx+LmHPFWfFqKR hx6zxn1RbFmcvofvmCvdlHCP1af0F6KLAqNEga9HyRv/YqxoNaxvcsjRS3obeXSZRrO9 +eiYmTqP1kvYnk60fbDpAS88084I6whWoWwb4MhyHfQb4DJLSSs9wHSF0ZnzboZbniTb aIhA0g0MDh5jyFPSPLMuHafhNhGq2+wLsso2BqguUfPV1JuiXWXp9MFHkrpgSzpxezzj JHVg== 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=rWSszm8aZB3aUFiYSjOVCVw6a/Ka6EAvUjYk9G4QlIY=; b=rMSvZH3z3Yf2m3huQXZqJV4Gj+Ej4lFV+uFI2NAlmJt20kytXxopYf0eog6ymGMLZO T/K1Mm7T91DmcCv9CwjSAM+HVyy9PzLaiyFQqJDMASe5PIXJBOWVoLA39o4LHMOWZxJu 9fZyUzlyCcmsIlVh9vP2Vqnis08uht0yxoMJ47/ipMGNdc/KUkx/U3lJ3NV+oei/h7Dt ij6TDSZ30blnBY4sZjmQbwhsbdy+SDFkBhOZQaSA8u7Ers/xFds46yVjHHIMIHbeOHsw jSbeXtx0OuMMpnt6fwNGgawT1AtbVKNnkEsCJ7FojcUBin2yJZDUje0OFV++a+W5mt2P Co6A== X-Gm-Message-State: AO0yUKUr5jMTESUEMvWbJuskchHSewvS+2b1t3mZSAoM8F2LomFvRKc8 OYna1opJeYgKyMoGPREqoxmnjGScbqNeAfyxAzY= X-Google-Smtp-Source: AK7set/HrxcQGA8VLrEvrjbsJArtIo7cQ6vUU7FxOsHB8P0S77yN0e0nWBnmi8Tc98W/uJ7AhNb7pVLrAEgTa8Qr7xk= X-Received: by 2002:a5b:d4e:0:b0:91d:685c:bd3b with SMTP id f14-20020a5b0d4e000000b0091d685cbd3bmr423631ybr.25.1676303155863; Mon, 13 Feb 2023 07:45:55 -0800 (PST) MIME-Version: 1.0 References: <20230210152622.92912-1-andrea.righi@canonical.com> In-Reply-To: From: Miguel Ojeda Date: Mon, 13 Feb 2023 16:45:44 +0100 Message-ID: Subject: Re: [PATCH] rust: fix regexp in scripts/is_rust_module.sh To: Andrea Righi Cc: Eric Curtin , Daniel Xu , Martin Reboredo , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , bjorn3_gh@protonmail.com, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 13, 2023 at 4:01 PM Andrea Righi wrote: > > In this way both C and Rust modules can be loaded correctly (at least in > my tests I'm able load both with CONFIG_DEBUG_INFO_BTF enabled). > > I haven't dropped the "RUST depends on !DEBUG_INFO_BTF" yet, but I think > with this fix is applied we can relax this constraint. Yeah, but the constraint was there for other reasons, so I got surprised when I read that in the commit message. Apparently, Martin cannot load the modules (https://lore.kernel.org/rust-for-linux/20230213151339.661225-1-yakoyoku@gmail.com/), but you can. Cheers, Miguel