Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp146127rwl; Thu, 6 Apr 2023 16:21:37 -0700 (PDT) X-Google-Smtp-Source: AKy350YxPomn+jaovitX0lE/jg48XQUZa4WTVfHqrDfHuMb9c+zDpnDF6aj9o1/It833yWDfm8iM X-Received: by 2002:a17:906:f117:b0:947:3bfc:4c84 with SMTP id gv23-20020a170906f11700b009473bfc4c84mr498978ejb.23.1680823297321; Thu, 06 Apr 2023 16:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680823297; cv=none; d=google.com; s=arc-20160816; b=gesoIImvHHYk3ODZr9dyaFUoSqW1m+7IgY8kstVVzxUYv8VciMc55IBHl77GMQq+4D XsincCkSh2wkBK9N/sca1qkeZfUnTNHR7kmxdZlvpb7YtAw38vRKkczdNPBTjqYXggbw vFISB/S7SVj+WXQiIqTftI9uUA6jqbJ+QQ4wMBm96WoYAhzZ+xyTfEB+WzKdxZ7IPcpg znl5W6vCX7FH5Roew6TqRgKdLx5qWfwAU74EBvUjGf5XXh7olYS7vvJnNadbu/G3dKkj zX+yuZ78WREVbXZw0kjMEObNk5fWNg0PxxW30bWZn9TmOYK5NthWQ0zyZDG2o1r2bs0X QRDQ== 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=Lz0vJXFN46x67W2xSAeH5Sf7oVGGDDuPE550b2nVspc=; b=D4nRFURQQvIV9RiOPGOyLlbaecVXzLJiAt871jVrFByffpFTYq1tnqAoleuM62ieW9 HhwkUKrQRMF2xIq8sNVVPE/4aI5d6KEjrTsscbc6Mr65ywo5//o+bU05ojvbH1b4+pbc j4VqVtTX/3EHTCfcURQghd6+iJssbOQWkOQha8aWVlk4WFgVZA4hWoRxEAfGP4mNpJiE uPRt0waA5DFrLnnvpCcG5qzcF9luiwkdGqrbbXkzerjmEtfrUw+PnqdP59C07FpBHEc4 NERIfy7zJAGORku3pHGDPEaVKOEh4iim4Tzy/WlQikVeiUu+77Uf5ddVnDKO2NdkQVdd i9KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gLQj17to; 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 li18-20020a170906f99200b008e9abaffe81si2174301ejb.885.2023.04.06.16.21.12; Thu, 06 Apr 2023 16:21:37 -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=@gmail.com header.s=20210112 header.b=gLQj17to; 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 S235622AbjDFWdW (ORCPT + 99 others); Thu, 6 Apr 2023 18:33:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjDFWdV (ORCPT ); Thu, 6 Apr 2023 18:33:21 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D62EC7ED0; Thu, 6 Apr 2023 15:33:19 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id p203so47625636ybb.13; Thu, 06 Apr 2023 15:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680820399; x=1683412399; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Lz0vJXFN46x67W2xSAeH5Sf7oVGGDDuPE550b2nVspc=; b=gLQj17toKK7r5rDcI9pyo99wnJ5lbLV/b7bNxiyrh53bsbudyqu3z4V8AvzhuZWZD3 wRAlabqZKkSjwMnwv5wmv16Gr98Ew8/IMu7PeI5THaHnOceGGi/Snd6Q6yxWZ3KraR3p 8NYmn+3t20M9MmuOYrDyqMo/aHeijEAtJgz8Ji+41WjQ8PfRsup/g+prQsyusXR4DtJv LjAPJBZmQop+/0yz+NBQnAqeQfz42TDw7MDkjKmz/PIhC0TECqspMl8jejj7asY2jllB B+7dwSkULJIE9Dd1EeTcvGAaL5PUznKnIwGUbzBBdIgkGHBTLL5g8do1hRmGmDpfRigu wTVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680820399; x=1683412399; h=content-transfer-encoding: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=Lz0vJXFN46x67W2xSAeH5Sf7oVGGDDuPE550b2nVspc=; b=T9ZWQjensMwUJITHU0ukp0TodAYQ5c5OtKgmZROGuWA434vfywhTmpXzptpkNRH/Sz xGi5rEHnbTd8AJxO5y5JFhnIvRxn8SggVrI9W1q6LStsGENDIqDEci+doBRbJHq+/c+y 1hN8nnUTLdtkgYUucAVWN4UmT3OPclXZBzFLrxz9fEU8Ty9e2Y0z0tWjWzlKOWsaZurZ eL5NGXYBquQFSyKkcaGyUYs8GWlSF6sR9cqanoiGeIItMhUSeMLOs0cXpgBucHAHzHOM LhapGsV8AOVhsOI6AuRa/KqzTg5nNNYuUAYVaprU8ISl+9m2AhRcloRIVtUFo0M4Sias igxA== X-Gm-Message-State: AAQBX9eISdgmtJCLlDFa8aaAb9Pn5iTzAWYUtnK1qNV7E+BbJKRMZfVW Fjuoj21reOjXWTvnds1rNTqW2V4vJXkW55EHhZY= X-Received: by 2002:a25:cc02:0:b0:b8b:f234:981e with SMTP id l2-20020a25cc02000000b00b8bf234981emr605454ybf.11.1680820399103; Thu, 06 Apr 2023 15:33:19 -0700 (PDT) MIME-Version: 1.0 References: <20230307120736.75492-1-nmi@metaspace.dk> In-Reply-To: <20230307120736.75492-1-nmi@metaspace.dk> From: Miguel Ojeda Date: Fri, 7 Apr 2023 00:33:08 +0200 Message-ID: Subject: Re: [PATCH] scripts: rust-analyzer: Skip crate module directories To: Andreas Hindborg , Asahi Lina Cc: rust-for-linux@vger.kernel.org, Andreas Hindborg , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, 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 Tue, Mar 7, 2023 at 1:08=E2=80=AFPM Andreas Hindborg = wrote: > > When generating rust-analyzer configuration, skip module directories. Thi= s fixes > an issue that occur if we have > > - drivers/block/driver.rs > - drivers/block/driver_mod/mod.rs > > If `driver_mod` is a module of the crate `driver`, the directory `driver_= mod` > may not contain `Makefile`, and `generate_rust_analyzer.py` will fail. I picked Lina's for `rust-fixes` from https://github.com/Rust-for-Linux/linux/pull/883. Cheers, Miguel