Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2143524rwl; Thu, 30 Mar 2023 06:38:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Zk2iGOTlWa0YXTQNy73YH+rj98amyl62YrfrHttVawu9meouiTnI+49cQ4LTT8zJBW7Bvi X-Received: by 2002:a17:906:d3:b0:946:e6ae:2888 with SMTP id 19-20020a17090600d300b00946e6ae2888mr6415708eji.3.1680183527864; Thu, 30 Mar 2023 06:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680183527; cv=none; d=google.com; s=arc-20160816; b=eeZGZ8keCNsBiolBxuxnV4veahj5pxeoACpsWlCrJQ0TBky/SOECDazo1J1MkmA2AB c6T18LPg6a2Xqjl8smSzv5/wkSueb+203Mq75QVomjEzhvAlqI9v1Ycso6KyHEe4krjF lKa0DrpjGhbIehAhAsycfroRbyW9aLR3n8R5dJWaws1oFej3DTk9/g49l4b49wpitD5K GjMuDiJnjLZUDCxWsxWmWHH9KnI0izFKRGN1zmJ3C2ccXMhgVscXfieSZYymAEL9NdOx 29xGm4RKEKRvS7pTOHF8jw+PbvyAg+oKkBo/r1bBzP+qlKeJiA/0UkOelAUUgiYCc0Bk JwEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:feedback-id:dkim-signature :dkim-signature; bh=ZNmR3kieAqctdwlbiLltTH+s1ytqrjcQ2adU8yfZiJs=; b=bvqSdsuFhoucSpwQ7XScQiC6KUOlM7Q16MCtRJ43sfWXKjiCoi2GFf6MR/mxyc9OVu eyMF4V7UnHCxQInAr4EHGlP160yx+bWbIpCzn3tBTgMl0inSbv0BUQ+Fn3Ck8F7ZaPwG c4azOlSrbyzk1nlL0Nql1mJAGR+ye//yVuL/7gmMq61TWq8sEihpfGaoyfQKYF8iQ1qj /00Vpz33UQ9U48UvJO4lTiETcYip7nIY1Zm+wSpcEY9++/NxJw3Qkx8fx1CWlzpmbdJi d4HaSKOYOr9BdIcD4LctoSW8MOqNF2yol0gNIt6dTJoAKE/ilfsJ3tk02+ecywrS1cCX m4RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ryhl.io header.s=fm2 header.b="V/S+FXPH"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hjprN0AK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ryhl.io Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n21-20020a170906379500b009468695bb0fsi6070089ejc.374.2023.03.30.06.38.21; Thu, 30 Mar 2023 06:38:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ryhl.io header.s=fm2 header.b="V/S+FXPH"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=hjprN0AK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ryhl.io Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231993AbjC3Nd0 (ORCPT + 99 others); Thu, 30 Mar 2023 09:33:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231979AbjC3NdZ (ORCPT ); Thu, 30 Mar 2023 09:33:25 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5603FAD27; Thu, 30 Mar 2023 06:33:21 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8602432003AC; Thu, 30 Mar 2023 09:33:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 30 Mar 2023 09:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ryhl.io; h=cc:cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1680183200; x=1680269600; bh=ZNmR3kieAqctdwlbiLltTH+s1ytqrjcQ2ad U8yfZiJs=; b=V/S+FXPHaO8WyHojLbqH85/DnVNGqaU/58erWa5JKKm31BKzuUT nAHoQIDTvw6KEQh+h6990nMu8OO6U1767Z7c1Kg4571nkgAyVsXj+XEjrRA94aFT ak5UdbXmz3LVylnnpbvIMKkLN3Z0MoNnN7D1KcKqzazeQ8j/utCaS53bLmJEdz+x /zccVVYiEuFi06bX7Wii/fMswJu7SIf42g4c/Np0zXg1AHbwDNtoGOemCFOFhn1g MsneuNFFUplPFpuPyUtbngmakF0WnO+C80aU+ljGjv/IbJmjMzdRS/4IjuwfhAYp UmKA4BhquzNwmmFz1ljCCknaY9PGDuB8HAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680183200; x=1680269600; bh=ZNmR3kieAqctdwlbiLltTH+s1ytqrjcQ2ad U8yfZiJs=; b=hjprN0AK6NYt1bSpGF9fUFgOGKNE7L1QxlsC8EdLbckAze36Lfg MZY9Kahmt+7nms5e+rUeDWFKc+wg237nzPCSXBhchUQ/dyz2zqfJSVue+/ZClPH5 jR2G1LJBK7QsDpcbjPUMXGjFztzs/qO8vh5fXiD7vphbZqrTx0teb6v0DPuAtDSK 4qoLpKbvWm4vrVSNB2SR+rC/fxP7Hqhb0mYj8O+wefls+4Hw88UfjfOy0StnLH1B XOeFpnqR63puIzGBhBW9GGp7RPwKAbmRQ1XC1TQ3S5zBo1SzzQym1dLjb7jYd396 vCPLE00q6PZqquCgpsY1Xxy3Fpckey2AfaA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehkedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfhuffvvehfjggtgfesth ejredttdefjeenucfhrhhomheptehlihgtvgcutfihhhhluceorghlihgtvgesrhihhhhl rdhioheqnecuggftrfgrthhtvghrnhephfehueeileevjeefkeetvdffveffudeuhffgte dvuefgiefgiedvjeegvdejleejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomheprghlihgtvgesrhihhhhlrdhioh X-ME-Proxy: Feedback-ID: i56684263:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Mar 2023 09:33:18 -0400 (EDT) Message-ID: Date: Thu, 30 Mar 2023 15:33:31 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: Alice Ryhl Subject: Re: [PATCH v3 01/13] rust: macros: add `quote!` macro To: y86-dev@protonmail.com Cc: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev References: <20230329223239.138757-1-y86-dev@protonmail.com> <20230329223239.138757-2-y86-dev@protonmail.com> Content-Language: en-US In-Reply-To: <20230329223239.138757-2-y86-dev@protonmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/30/23 00:32, y86-dev@protonmail.com wrote: > From: Gary Guo > > Add the `quote!` macro for creating `TokenStream`s directly via the > given Rust tokens. It also supports repetitions using iterators. > > It will be used by the pin-init API proc-macros to generate code. > > Signed-off-by: Gary Guo > Signed-off-by: Benno Lossin Reviewed-by: Alice Ryhl