Message ID | 20241219-rust-percpu-v1-2-209117e822b1@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95D4FE7718A for <linux-mm@archiver.kernel.org>; Thu, 19 Dec 2024 21:08:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B5206B0088; Thu, 19 Dec 2024 16:08:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 241336B008A; Thu, 19 Dec 2024 16:08:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 043DB6B008C; Thu, 19 Dec 2024 16:08:51 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id CAA3D6B0088 for <linux-mm@kvack.org>; Thu, 19 Dec 2024 16:08:51 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 83AB443155 for <linux-mm@kvack.org>; Thu, 19 Dec 2024 21:08:51 +0000 (UTC) X-FDA: 82912947684.28.16C9250 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf15.hostedemail.com (Postfix) with ESMTP id CFB57A000B for <linux-mm@kvack.org>; Thu, 19 Dec 2024 21:07:58 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VM782LVx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf15.hostedemail.com: domain of levymitchell0@gmail.com designates 209.85.214.174 as permitted sender) smtp.mailfrom=levymitchell0@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734642513; a=rsa-sha256; cv=none; b=0WP5JZDsMQSx3P1F+XKSZODj69RcpiTMwHT3ZA6rtqmig2TFYCLxhgzDAvvX6jXKDuT8xM e3lkrxxgB2/MkII4D3lRWxJwkzujyqL2i3iUCAu/iqbxP9C+3gVhwH/Iv1gk7XqBhuHnHR FZ22iaxkBVycNQZBov8PSN915MPLkIo= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=VM782LVx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf15.hostedemail.com: domain of levymitchell0@gmail.com designates 209.85.214.174 as permitted sender) smtp.mailfrom=levymitchell0@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734642513; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=SeeL6HPCkGqR+iss0d46HW94C36VOktwSeHKqW1zTWU=; b=7l1mW1/RpgBP4LmF5NFol7sQo3WIxQuiZ+/w9q0IbwTs+1ADjfy2qUY+z9PsQaVoQ4EEgD PU80RTXy1J/6mBnrM08KxPkp1teTb+NBo3mrnadQYrpL30Q4C1XLwspllqCbHYrU0fku0l 1AB0+lwO9YxiOdfcdrhADa0WWuj6QKs= Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-21669fd5c7cso12013415ad.3 for <linux-mm@kvack.org>; Thu, 19 Dec 2024 13:08:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734642528; x=1735247328; darn=kvack.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=SeeL6HPCkGqR+iss0d46HW94C36VOktwSeHKqW1zTWU=; b=VM782LVxx/4axVTdCXse/Vu7dcf1zHtwgo9IMoecal4VT7mqsrHKoRMhbl8587Hdyb jRemeqOf5K+K5r+5rM9GQo7SVAdWvM3ycqW1pgLs37KryQLMA0o6sgbWZISGdeXc+6f2 TNx/Lrbd4MqZKnlIsdbgxI24ZEG12+nTs2naQVGTR+CoALWOF75zo17AZi1KUdhOGDWU d6OWNa9NWmMJOAWhhrZkBKhPhJnbxbzijxl4STyjPImbwY0c2AAgnp/LCInfb9Q7O1UD IcFjUvJSIfWOsZ89dMtBTNL7tjmLO+sQRwWTrQ21E6KyNQ0Jvz1aomdmv163PCj+/3HG 2GbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734642528; x=1735247328; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SeeL6HPCkGqR+iss0d46HW94C36VOktwSeHKqW1zTWU=; b=DrZzjrqFft0WmHdnbQ6OWLnLnjfhyAXXb8NIgdspdsQ+30ca2kC/xAG0xDcQ/EKk8D gp+DV6LWHN9gvikvUVlmtDHTG5mafCEhHu/3qMWjgKvTpHA7qceP4ZcRwLaWxCdy4B89 bDyLRG1/2cS/a+PpFuaN2/gVPU49DxSmoHIYGU+UanYHJbbHPCK6y0Q4ixOwgxxKJpu5 rUi0hJWpoOyVqbxAxQ0E5Mfo+SfmRX5S+Gn227uRca70girorEJgW83Gg3Sy7m3zQw3f NGw4LnO1fuKC8tJ+03b4dsr44dOzYGIS553FnARg/qjY4Cq+3WMICGoSvsraVErZcD7t 5DpQ== X-Forwarded-Encrypted: i=1; AJvYcCVla2wpTcYr+PKflOycASy/pc7oxttj67mEAh1i/oNCuXtNd05V/QDLnQnwmovu+my0VwJifjMmhg==@kvack.org X-Gm-Message-State: AOJu0Yx6JvVaSOXNrUi0xicUS5ytNdNPQGsfQy/Y+Knk72nLuz+Zl0o2 IgZpDW6uf5vyu0eSr95tMEBv9KZ6S05jW5cG64qxy+txZ5gmmYwr X-Gm-Gg: ASbGncsd0QJUoDw7edCCrZXtn5GGinDY+OJj9IM66cO4Y8OhpRKSOoZYzhsTrY1eP1l eqd9WuFgbgGBniDAZkmzbQrwGA7fv5sAzBM+hYDwf7RqbKln1fm0wpFpEuMUALuxagqvL4LQcC2 pakf53PmdVaF1t6yBwigYN0OdlhQGrzHhq5OjwIqo32i9Zad6ymPCcrFfOos2CLoJy9GOa87wQS EPMXYkw6rO1Dj/ZL1SHMKC7TooNGfgVYW3ozgy+b5hZMe5FU9qofb62hlfTRza2Wg== X-Google-Smtp-Source: AGHT+IF/1tM3WCgqS4vfhViKK0R9nsVTEMtAfdNwyZiWjLZy3SwsOJSvD1LICQhf2BHaA/XvshYH/Q== X-Received: by 2002:a17:902:ebc6:b0:216:1cf8:8b8 with SMTP id d9443c01a7336-219e6ebe15emr3313535ad.27.1734642528276; Thu, 19 Dec 2024 13:08:48 -0800 (PST) Received: from mitchelllevy. ([174.127.224.194]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962cc3sm16831755ad.28.2024.12.19.13.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 13:08:47 -0800 (PST) From: Mitchell Levy <levymitchell0@gmail.com> Date: Thu, 19 Dec 2024 13:08:27 -0800 Subject: [PATCH RFC 2/3] rust: rust-analyzer: add lib to dirs searched for crates MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20241219-rust-percpu-v1-2-209117e822b1@gmail.com> References: <20241219-rust-percpu-v1-0-209117e822b1@gmail.com> In-Reply-To: <20241219-rust-percpu-v1-0-209117e822b1@gmail.com> To: Miguel Ojeda <ojeda@kernel.org>, Alex Gaynor <alex.gaynor@gmail.com>, Boqun Feng <boqun.feng@gmail.com>, Gary Guo <gary@garyguo.net>, =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= <bjorn3_gh@protonmail.com>, Benno Lossin <benno.lossin@proton.me>, Andreas Hindborg <a.hindborg@kernel.org>, Alice Ryhl <aliceryhl@google.com>, Trevor Gross <tmgross@umich.edu>, Andrew Morton <akpm@linux-foundation.org>, Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com> Cc: linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-mm@kvack.org, Mitchell Levy <levymitchell0@gmail.com> X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1734642524; l=916; i=levymitchell0@gmail.com; s=20240719; h=from:subject:message-id; bh=lY27LEhr/RrYnOIR8z3fQ4J3MpeoCX1CqLVxrfhFCU8=; b=mwtTmJIpnuguPatbGcieMpjbUb5v3yLgy1KPUvNYJhpLHNbxO1HwQtsnaFhqxc/yuAMoKljZH own5+keq+syBDNH0fM3Z66LWAo5xjtxa2gnmh6vJFnKBtyFvvi40Xs9 X-Developer-Key: i=levymitchell0@gmail.com; a=ed25519; pk=n6kBmUnb+UNmjVkTnDwrLwTJAEKUfs2e8E+MFPZI93E= X-Rspam-User: X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: CFB57A000B X-Stat-Signature: kbsriqjwroz84xw4h317iza37kos8xai X-HE-Tag: 1734642478-210238 X-HE-Meta: U2FsdGVkX1802X6d6gib1Uni6urZ5btXJMhTUUt3vDMer4wo11tmQ3texAq4gpEVdPB/OPtTn9xvQpY7THJbvVUJjqbjTihwbwfXgR4Kf5dQUAYvHF+09KqK/4XKDWG8quHsZQspousPlk77zAtHVqEeaHP3iVJ0SjyQFDvCs6nnMyVe7E4dANzw1mUlrGqR7cUjnuhyCtY68tQ8Pe/2XcbJnBGJHWX9izSi2l2E3joK+dHcItMP4zEj7clnDGVoxn9CuecW1zXLtFEyrOG1oXONP8IbBxFZPiU2LnV95hOmoMTREjDZ6VnNCcvWj97/4DhxvwW7fyAbMipgdVheDoRCV/Uoeh1KfuEC71rpudujiImKBL3YX+IsPa/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0= X-Bogosity: Unsure, tests=bogofilter, spamicity=0.500000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
rust: Add Per-CPU Variable API
|
expand
|
diff --git a/scripts/generate_rust_analyzer.py b/scripts/generate_rust_analyzer.py index 09e1d166d8d2..7d7ffb45fc0c 100755 --- a/scripts/generate_rust_analyzer.py +++ b/scripts/generate_rust_analyzer.py @@ -109,7 +109,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", "lib")) if external_src is not None: extra_dirs = [external_src] for folder in extra_dirs:
When generating rust-project.json, also include crates in lib/ Signed-off-by: Mitchell Levy <levymitchell0@gmail.com> --- scripts/generate_rust_analyzer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)