Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp493502lqo; Thu, 16 May 2024 12:05:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXcTETZhOLqic8igVsXIFN1GLOIUh9CFPjIUjMUhFAOuRnWEGRKHQBsgu+E7Tm9erStO3f93c1RaV4zJIw2jPRV7wvFQ+g02dUfGMJag== X-Google-Smtp-Source: AGHT+IGV4clCKo3vSXFwD0TJpxeEzsK/fe2cnjvp+Blq00hiIsCEB2FjvfPje/U9743z4GKN0uCn X-Received: by 2002:a05:6a21:99aa:b0:1b0:1ce0:1a2e with SMTP id adf61e73a8af0-1b01ce01c0emr5932425637.19.1715886313085; Thu, 16 May 2024 12:05:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715886313; cv=pass; d=google.com; s=arc-20160816; b=lAF46Q2t4Z1grlSQDmwa6BR82VHrPFGmoXnP1JmLZ3rj1Yu17s5fIuEp6mKp5XZGmb MEueYZy5QOjITlHOvmzk9jveX60MsxkSGx9tolb9Ut0pq7ztQ83fEj8O+yXJ8TR6psB3 55mR89M58zKVdTQ2KTM2CjaOQT/LcDW3+ynPp2NCKSP7pzKY0kTt0oyLpoAjn7bFlT9L IQoTKmYEbwR4ymsTYpEUFUCOLh/Q03QQ3pJC9KKNiM2phyhCOW8ekxvxYfqX3Zoe0Wpf 0pu/wztiyydaBt5QvYB79UEpsg4m7pmZiK6xjCYeP+B/K1npAgeu6BdPKdgDBM16eya0 utHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=L5yDgP+cxPTKmz+g24R6+/RadbYoww9Xk7B9o4e4exM=; fh=DGE/Rt7UZyKJ8ICVIgmeDLsrdvw5JULr/fcEfbQDVFQ=; b=xtBRFHRlpMSGB+MB+PdcN7qDk3kbuzdkKezDtAmi4evE2CiCrg1sLKsJxn+20+tOqs uVo0EK+OXRQBv4PUtycbqzdaNtU66zJf2vy/w44y7+qbI9CVBpEn4aPYzcJLzzy7mZIz WIO1+r1UIyDujdLaKiNrd2q1U7r6HSUAzbamD1MN3o6rH7CiW8RiYtF0KZtJ019JqDm2 A2SUp02kkefgB48CIe4ld9dFQBBbE3i7abE0VLD0NG3eBy9WFSe3ULZdi7VSYGpcr9yv dUVsoVZFtvutLARb+ULH3gE5mR4jr4V9Y3Udy7VkVbKuViNoouAzlp+ckHKHTNh66IF7 6ikA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b="Gl/ORZvq"; arc=pass (i=1 spf=pass spfdomain=cisco.com dkim=pass dkdomain=cisco.com dmarc=pass fromdomain=cisco.com); spf=pass (google.com: domain of linux-kernel+bounces-181494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cisco.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6589778ca64si2491000a12.107.2024.05.16.12.05.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 12:05:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b="Gl/ORZvq"; arc=pass (i=1 spf=pass spfdomain=cisco.com dkim=pass dkdomain=cisco.com dmarc=pass fromdomain=cisco.com); spf=pass (google.com: domain of linux-kernel+bounces-181494-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181494-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cisco.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1C970282443 for ; Thu, 16 May 2024 19:05:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD44C1581FB; Thu, 16 May 2024 19:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b="Gl/ORZvq" Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B29E4156F53; Thu, 16 May 2024 19:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.38.203.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715886264; cv=none; b=byYUHRtSoD8dkST+4SaXhdjazZY5WogJGt622yh/5EBPR5AhV/tjm7sH3270zox35G4ejfX5tlWEakneLOBJiOFRLlDlTO4GVsIchM3XTAEHRNvHpoSe/0q3lZxcxuji+DQOGLedZGq0h7Uz4qDO6pcAIOrG0+M3V4f9iTRnevs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715886264; c=relaxed/simple; bh=3nnpWWKMStpUeM3Ik6Rv784yA2JQMowYJQgZdZU31uY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=g1NAI6NZKEUkqOKILqsk5IbJgT7JzDXVD9r8B8ilntgmkT464OLPiUQkMCw7KBeieJHhP9U8ZnoN4OCDi6JQk7g6YqwHLUPnrIui5jE30emQw0wb2zC1E/6oaaRqSXFx3PJlr19O8iHFYVc+kyLvlG/UviT1vc6LB/SrhowcBvk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com; spf=pass smtp.mailfrom=cisco.com; dkim=pass (1024-bit key) header.d=cisco.com header.i=@cisco.com header.b=Gl/ORZvq; arc=none smtp.client-ip=173.38.203.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=cisco.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cisco.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=894; q=dns/txt; s=iport; t=1715886262; x=1717095862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=L5yDgP+cxPTKmz+g24R6+/RadbYoww9Xk7B9o4e4exM=; b=Gl/ORZvqSstJ5aoCzJZG6jHLTVA7+35XPz7DlWoVkYHRA5+pwPIuFebK 4JfSCsaqiygbHLIPs2vdEWeL1TPcC0JVphcjkdCVr4BVnq8HPU/U164V1 F3nu1c4NZvJ970MeDaAyg3qUFYqp44luU3hAazkFAWw62M//HDNjZ1sjF 8=; X-CSE-ConnectionGUID: 3gwLQrPxT+2Tcptk91gRkA== X-CSE-MsgGUID: L99Lj4d9T0GlqFWcxSX9fw== X-IronPort-AV: E=Sophos;i="6.08,165,1712620800"; d="scan'208";a="12416990" Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2024 19:04:21 +0000 Received: from localhost (ams3-vpn-dhcp4879.cisco.com [10.61.83.14]) (authenticated bits=0) by aer-core-1.cisco.com (8.15.2/8.15.2) with ESMTPSA id 44GJ4KvF030203 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 16 May 2024 19:04:21 GMT From: Ariel Miculas To: rust-for-linux@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tycho@tycho.pizza, brauner@kernel.org, viro@zeniv.linux.org.uk, ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com, shallyn@cisco.com, Ariel Miculas Subject: [RFC PATCH v3 16/22] scripts: add fs directory to rust-analyzer Date: Thu, 16 May 2024 22:03:39 +0300 Message-Id: <20240516190345.957477-17-amiculas@cisco.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240516190345.957477-1-amiculas@cisco.com> References: <20240516190345.957477-1-amiculas@cisco.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-User: amiculas@cisco.com X-Outbound-SMTP-Client: 10.61.83.14, ams3-vpn-dhcp4879.cisco.com X-Outbound-Node: aer-core-1.cisco.com This enables the Rust code navigation features inside fs/, where PuzzleFS resides. Signed-off-by: Ariel Miculas --- scripts/generate_rust_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_rust_analyzer.py b/scripts/generate_rust_analyzer.py index f270c7b0cf34..6985b9e37429 100755 --- a/scripts/generate_rust_analyzer.py +++ b/scripts/generate_rust_analyzer.py @@ -116,7 +116,7 @@ def generate_crates(srctree, objtree, sysroot_src, external_src, cfgs): # Then, the rest outside of `rust/`. # # We explicitly mention the top-level folders we want to cover. - extra_dirs = map(lambda dir: srctree / dir, ("samples", "drivers")) + extra_dirs = map(lambda dir: srctree / dir, ("samples", "drivers", "fs")) if external_src is not None: extra_dirs = [external_src] for folder in extra_dirs: -- 2.34.1