From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f74.google.com (mail-ej1-f74.google.com [209.85.218.74]) (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 64F47305960 for ; Mon, 10 Nov 2025 10:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762771855; cv=none; b=u7MAbnOtmujGz91NAjWR974yEEpqGMgDJdfSnRnQBhibj32sfOiUnnLGdMI9rnqQZ/mjUMBSySXqVir+TJqb3eTR6Ekky3mBON01dQtRO1c1huahe+toNkL8SncIlQNQBQX4dabOld3UmOOMGxK1SSdfIX6hWYsb751pvXlh+Bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762771855; c=relaxed/simple; bh=QuvzLQvjJhrJPEv2EiWNZ0BlmMA56gk0ZaiE4mu3nUw=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=EcV2Oy9SDTCGa0zXoNDV7IqZt7eJd3DXomtdWG0atnMEIdPMtfmDEfqYpUHXw4B+3npL/DKQTW97gdrfz5supKwSk6inmsxsCJvls7u/bq+/s17wjBt7tnJL3xhf/GAU13d+aCVTE/E4FSnngMfBgduY6gIfAiZB01NsWSI/uFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ZPxsn+u2; arc=none smtp.client-ip=209.85.218.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ZPxsn+u2" Received: by mail-ej1-f74.google.com with SMTP id a640c23a62f3a-b71043a0e4fso267166766b.2 for ; Mon, 10 Nov 2025 02:50:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1762771852; x=1763376652; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=jAehjyaMCP4/3fDkR7/7In2PF2fJ4VvVwolrpLltF9s=; b=ZPxsn+u2ZATM1esOgyuV4f5Wv/lwph1n4AP8h7MO47bSkcn8tBKUIUpPPmZap56jkR 5DOrkKcZxUzHyykTk+nPKBMs2KEjSt+5mIRh/d4mbVXreOiUi6xxstfpWbm9OKssLcd6 /k1XA+nI/63ILdM2Bdq5mWrbI9f3Ilmp8gCwnvs7otalv72rnggQonAfuHiQYZ6btYLX jto0oAALSW0mQ8903qULfvuaovN7eCdCn+DzVPRVF7EbXnIYxgMKwvb3ssCY2ht5MTXI toWFb6tTfMk4hxnUmwIVyd5dKgCSVsi2h52ENzRHblyLgOcXW4AgR/rjtlWBLVdxSKA6 HHew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762771852; x=1763376652; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jAehjyaMCP4/3fDkR7/7In2PF2fJ4VvVwolrpLltF9s=; b=sSKXkXJa762M6mSICJt5Su1PPLrL3yxL2dXv8mw1cjpa/kaCedCEvX7isRL8aAfz2u CiBSkhNWr79IiOmZ8qxfKp7BcjpSEtn1+XBfCp9vmw8wSHnWoDcw046nJB2CRklSjhHu wej2bki2/YEyOsIyjwoYzziBsO+Y9KgKEJcNmelJyF84Y1FbQhMiRkglR+Sw21PXQY/N WBZYVqaNEf3Dye6Ql34sZHRTXaMn97GNGvyf+LgnZIvOIpNDnfKrcaJ+gwzHQQ91fgiI 4FMV84X4M5xpB+V4iXr1uLC5rBcOnffzww8sp5xj1gG9ifagx2Ak/mLDj3ouTXuyiWmO w2Hw== X-Forwarded-Encrypted: i=1; AJvYcCVeBqJVDITOyoP/HiIHOUEtvFbxnZD6qP2fNkFeZO8AxvIZWdsU3kTI10rOgm4YIYhA6fbmCLIiOvzau1I=@vger.kernel.org X-Gm-Message-State: AOJu0Yzy/ax+Yw1zq+VM9uZWQi2LxPlJmgGWLTEBfuuo+snCoFZ25ed+ Cm9ae6TcznbQB7zedqCSTpMaZpVmOcYCPDXrs0Sv+3w5THw65VNl9GjLpNwmCZ4IpSpHIJxLVS0 ZnPMM9pvCzUCruj4bkA== X-Google-Smtp-Source: AGHT+IHAxf8vIQMyFMTQjQQEpwFvS82i11CDs38Q8zhN6iIl6WZ7bHyAX4vTa1PqPqK6uf3c9yj3YRaeI9ccAqo= X-Received: from ejctl15.prod.google.com ([2002:a17:907:c30f:b0:b71:a2e3:37b8]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a17:907:1c03:b0:b72:9c81:48ab with SMTP id a640c23a62f3a-b72e050415bmr723371966b.59.1762771851712; Mon, 10 Nov 2025 02:50:51 -0800 (PST) Date: Mon, 10 Nov 2025 10:50:51 +0000 In-Reply-To: <20251110095025.1475896-8-ojeda@kernel.org> Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251110095025.1475896-1-ojeda@kernel.org> <20251110095025.1475896-8-ojeda@kernel.org> Message-ID: Subject: Re: [PATCH 07/18] rust: proc-macro2: remove `unicode_ident` dependency From: Alice Ryhl To: Miguel Ojeda Cc: Alex Gaynor , Nathan Chancellor , Nicolas Schier , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="utf-8" On Mon, Nov 10, 2025 at 10:50:12AM +0100, Miguel Ojeda wrote: > The `proc-macro2` crate depends on the `unicode-ident` crate to determine > whether characters have the XID_Start or XID_Continue properties according > to Unicode Standard Annex #31. > > However, we only need ASCII identifiers in the kernel, thus we can > simplify the check and remove completely that dependency. > > Signed-off-by: Miguel Ojeda Verified that these match exactly for ascii characters. Reviewed-by: Alice Ryhl