From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B81B83815FF for ; Wed, 14 Jan 2026 09:26:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.193 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768382789; cv=none; b=M9mxfvgznFG7V7DjzB15zKl38dMbRecH2eM1/HP9FFWjLRl3HhB3K8KcU2yh2+7ui91pY27C9qLiHRWZOQCDQmuLhrCRDj97EDirZ2LUO4imv9KnvpNv6YgonYbV3Codwsm3DpinIj0vSn3BZGhjhXA6Toe7mlW1fuxvOBsyrng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768382789; c=relaxed/simple; bh=9JYFjvNiC6i0vaR5+AN/EPJeIV9eoAdCkAztcYJG1Kk=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=VL1Wyxu0jPLvCm1h5GfGro7waZ74a0J7CRCbzxEd9aymuo55IrVxZUr0bOqaTksYrc1BNBUK7gKYhQIPaXAeELV3G/BQR/m23HKePhO8R2209jt/T64T4ZCG2xspYLl97zY5lddj7JN8JRcTpGNqJeXMnNyDR1M+GUVTl338RaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bqiviuES; arc=none smtp.client-ip=209.85.214.193 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bqiviuES" Received: by mail-pl1-f193.google.com with SMTP id d9443c01a7336-2a1022dda33so51264515ad.2 for ; Wed, 14 Jan 2026 01:26:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768382786; x=1768987586; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=85hA88Jj9jPujDKVPhU8iVk2KYmDiYOurxEj4yWVIAA=; b=bqiviuESodJanutqkuwzKYTHdfqIoXSjN+mzZTomEQhGKpaE2Gg8KPmW64m9oMLghl 3z4EajwYS32UHT9EgYedbjz6o2ABTYYXtIimo4SaHC5s7Jg3+28PzXCqXkyVNkxEv5+d Hw1ALycykZKPgR7xX2ZXNgSw5XI9R1599pHH56nlvP/Li8rDDSL+jNsToVpf6mMy5qxY oYfVHOTcV7Nzs9Ow2ssr+SJsg+BYFiFvTFFQOnsouryH2Yei0gwKiLdJfwtLvIoYdf12 yafrIHCzlUUl47kvx2r//P9cdADTuTATG2wjBPVGVWnxXOrGkEYa2xdogkXpOjmfQ98n xv4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768382786; x=1768987586; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=85hA88Jj9jPujDKVPhU8iVk2KYmDiYOurxEj4yWVIAA=; b=neVIZSPs6UoxgT31cYfCxih9OiOYn2EjZCqcNXV92JlsTGoDH2lKvdRls0w18Ije/6 lgfjxI60CM0c4BbceIg1rcUchzOtdrg+ry5051EQVuaZD5y3QTt5hv1FMeaJEUgqNZVh yeWo5GOLNF6YdNBQSiOibH5UC5qy9QubS2+QFEYnSxbB/AYld6FJmLAXWSJLZe3nb3E+ ixezY+liE8brqhnnWo0QfWQk7dksbMnygDuKsC/bSjzIhtWghGgSDdUJcznSuAdHCkPD /fERNaxUcbhkXrI4yWsnoPiyLSWYAxqLYK9LoBFyFF3hUy1/F4yzlDIFSp5EUCQBFGQL DaMg== X-Forwarded-Encrypted: i=1; AJvYcCXgrm45DheKOUa6GABCgZ+QvCiNFFC1pz4h4/I3PSyP6ruPLdD2Pq4ZKYfT2esz17WKTJ0iKh2w3ush7U8=@vger.kernel.org X-Gm-Message-State: AOJu0YwY/4bBDcrdrdIKDokU7mFGbRKwc4s44gCvPZ41e0Htyp1S/R6T Hmn+eOxvY0w+FhasKVUpjA0bLSqaB/f6ZIn/cHtHJgM/BQJGSaOlKuIL X-Gm-Gg: AY/fxX5Iu1uMv0bqNRBaeYEGQIhfLr7F8Q0AkyztbHQcZnIPM8N/o7z2tXiGzIEN8IM vz8X145BtVDhsrYfiAKkk8YBVYuIcpt2OHGvU3WwflredExXBe0Dlc+p40+Tpvi5SI13HfOu/z/ WQDFV0R5HzuOn+aXhijDiGFHh9mTpyxH4G0RPfFtAg9Qe4cj+/LDwaxWDAfx0U2YW81hQ4N9W8p 9GcpdxDEFiZtEwjI/tdjFU57q68gk1CNK/lqANgumwm5JvWqzlxhBvzrE/CMrJH9W7Bn5e8iCdO 0MSXqi+qzsZsc0152WpzYRGlj+lKJ0hwAP2lYQcrmbUrOPIONKeebAARi7IS4JZEJix4IRvIOKt EIvFX6lcSQp9WXYTfxUMMXMPnoMHykx3SBqNfUgeZghdf+6FYd4uM83vShkD/5Zk1uHspXPQgFq POYsH8fw== X-Received: by 2002:a17:903:2cf:b0:295:99f0:6c66 with SMTP id d9443c01a7336-2a599e09e05mr23309495ad.36.1768382786459; Wed, 14 Jan 2026 01:26:26 -0800 (PST) Received: from localhost ([112.149.32.52]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a3e3c39fefsm224570785ad.17.2026.01.14.01.26.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Jan 2026 01:26:26 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 14 Jan 2026 18:26:21 +0900 Message-Id: Cc: , Subject: Re: [PATCH 3/3] scripts: generate_rust_analyzer: Add pin_init_internal deps From: "Jesung Yang" To: "Tamir Duberstein" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" X-Mailer: aerc 0.21.0 References: <20250723-rust-analyzer-pin-init-v1-0-3c6956173c78@kernel.org> <20250723-rust-analyzer-pin-init-v1-3-3c6956173c78@kernel.org> In-Reply-To: <20250723-rust-analyzer-pin-init-v1-3-3c6956173c78@kernel.org> On Thu Jul 24, 2025 at 12:39 AM KST, Tamir Duberstein wrote: > Commit d7659acca7a3 ("rust: add pin-init crate build infrastructure") > did not add dependencies to `pin_init_internal`, resulting in broken > navigation. Thus add them now. > > Signed-off-by: Tamir Duberstein > --- > 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_an= alyzer.py > index 451d00dfc08d..229acd4cf1fb 100755 > --- a/scripts/generate_rust_analyzer.py > +++ b/scripts/generate_rust_analyzer.py > @@ -102,7 +102,7 @@ def generate_crates(srctree, objtree, sysroot_src, ex= ternal_src, cfgs, core_edit > append_crate( > "pin_init_internal", > srctree / "rust" / "pin-init" / "internal" / "src" / "lib.rs", > - [], > + ["std", "proc_macro"], > cfg=3D["kernel"], > is_proc_macro=3DTrue, > ) The recent `syn` rewrite of pin-init [1] covers this as well. How do we usually handle this kind of overlap? [1] https://lore.kernel.org/rust-for-linux/20260111122554.2662175-4-lossin@= kernel.org/ Best regards, Jesung