From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 118EC3C9EF3; Mon, 8 Jun 2026 14:15:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780928138; cv=none; b=cEGfRtT6OBoI9lvlp3Dlj662jxEbQp3gKkyL7zaH0vQ1Eyz4X3oKmRSxfNPaN4JZMuwM8uXhXJLXahFCxlzPLKKDC51cXF7eS3KMDdmhMXJwA3ihS6afx0dW+qnj1K5uM7PKyMuS4YixMvCxqMA82ItPvYSdX7sPvw6AHy/MWcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780928138; c=relaxed/simple; bh=aSZOhhf3vRUE2phGwbM7KMo2jgdh2KIfQTZ392atU24=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XS3jZZjt9aDbSXSltBylHDPk+Qfe50NDxI+nMoWsXzNvcW2xmwsy3S2Lnpmz/LYLCCLBQSxOJz0/gad6MClB3ZAQ37MhatsUIb8rNYfZa2H8Eu8HnUuZHy3Kzp3lEIIiIbCtDJrxV1+XuY5C1BwPuH7sdp3EjMKCwaB7YfeJytw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=F5kvLWRc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F5kvLWRc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 865181F00898; Mon, 8 Jun 2026 14:15:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1780928136; bh=w9fLc5LKmMvg2+YhAypjTcFLcL6vS7llS/CAJ/v+X/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F5kvLWRc+5nnyhZGlZrab/inyaCX2QhIbIJi45NmJnxspkWH+aXovygx0hei0JMDQ r2fuZ7qJyDlX+T6JHKDj6jvzoozRSPCKIZ2VMLSgGEQpLE5q3AzRw6SZj1r3STqp/O /BeCrZ6qr19NEjRQWLq++FhKbX+f3nFCHTJgYnaQWNJLSAHl0J8OQOQqzRrkXwub3c GdbDRxPZDbkJG/setdYumpjQD6/d6cbyQZROxywxnTbdS7V8UYtWtrD3HzfDVZAB+P X6r+aU8G6m+0IV0jCLthRBPDFdotMDZMg0nNI2hYVWd7JsLz8bGe58rWFea7cI/yh6 /uin+XfKUPG8w== From: Miguel Ojeda To: Miguel Ojeda , Nathan Chancellor , Nicolas Schier Cc: Boqun Feng , Gary Guo , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, Joshua Liebow-Feeser , Jack Wrenn Subject: [PATCH v2 05/19] rust: kbuild: define `procmacro-extension` variable Date: Mon, 8 Jun 2026 16:14:24 +0200 Message-ID: <20260608141439.182634-6-ojeda@kernel.org> In-Reply-To: <20260608141439.182634-1-ojeda@kernel.org> References: <20260608141439.182634-1-ojeda@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Since we are adding one more proc macro crate (`zerocopy-derive`), we are refactoring their handling. Thus, instead of using `libmacros_extension` as the common variable to hold the extension for all of them, use a dedicated variable with a more generic name (including for its implementation). Signed-off-by: Miguel Ojeda --- rust/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rust/Makefile b/rust/Makefile index 8dfccf7399d9..df90fabefb70 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -48,10 +48,9 @@ endif ifdef CONFIG_RUST procmacro-name = $(shell MAKEFLAGS= $(RUSTC) --print file-names --crate-name $(1) --crate-type proc-macro -