Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2086746rwd; Thu, 15 Jun 2023 21:55:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TFWeP4oyi8twCt3I9CZsr9jbZaoCAmTlsjGbwGknn6bp0SUGgMMiwapkfZ1e7BEPuENSK X-Received: by 2002:a17:902:74c5:b0:1b1:9272:55f3 with SMTP id f5-20020a17090274c500b001b1927255f3mr747204plt.66.1686891322554; Thu, 15 Jun 2023 21:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686891322; cv=none; d=google.com; s=arc-20160816; b=Vb2PrHZEXE2dxK7Io3cPaEBBzaVblgHVSJSjbOIISYy/5omS8zAFTWo2LNF+dyMiaq wTa/A4iw+mOIX6pQtAbo72LOiNmbBCc0ga3SdIAAep16ktp7+VKipB6OUsl8bjMfwkSW Vfs+vToJynpKSIV9ThX/hv90RDKcihZ8Vgj5l0M+Wh/XuWldLS5EHAcr9bvc/2Jis2JE MfB1mnDRWQKSsObKGRUKkQDe23I3hmnmeib3LUK6//PD4tg2mMacBxRNfu0oCmAnKGWf mBNDX1j4Letp9OsbcVnp5Pr7IpJ8zG5c/icvzISryhBDECgeCnWYYAzWpqkCPnsdVNKN /fMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ID1buYmBd+zugYzR9eF2RZI+zEcBY+p7EIdtrVafyF8=; b=UPtuCI8moXc2vbKA0YNt7kl0RDsNtZY4gNAltuJlLzNji6h4Iob0TBSpIaRhLFvdN6 Svc+LqcEUHuiukMGx0a1lr9ZkAdszxBl5YxU/o0iYiz5ViFEi59sMXqMQSlc30prxvDO jos3sHbNI/aC0VOJ/yTJ65niMFfHLPvfnfs2fT0EXQCX5Vz6EE2xFG5Ia3/DCu8QR0bE cfxVWxk/9zTh43kBDBzrLkK/xJCbD0udO0uZHUpPDXzdkSFm9ZST8FEFbyiXM4/xn6Wv 6bjbc3L4t7TfrEuCu87bZd1Pcn9ws1ndhwm6EQMximZeKEaPX0MyG2X0cnDOlZ/PTeiQ x0kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=MuO1XUpx; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c9-20020a170903234900b001a64b603189si7663935plh.100.2023.06.15.21.55.07; Thu, 15 Jun 2023 21:55:22 -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=@google.com header.s=20221208 header.b=MuO1XUpx; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232983AbjFPEvx (ORCPT + 99 others); Fri, 16 Jun 2023 00:51:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232349AbjFPEvt (ORCPT ); Fri, 16 Jun 2023 00:51:49 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3D2A2D68 for ; Thu, 15 Jun 2023 21:51:47 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-513ea2990b8so6005a12.0 for ; Thu, 15 Jun 2023 21:51:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686891106; x=1689483106; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ID1buYmBd+zugYzR9eF2RZI+zEcBY+p7EIdtrVafyF8=; b=MuO1XUpx6KCW7DtUdLOLb+QRUczcTNL9OoygT9qGqaBMihC+WTzoFT90mwlQAaWjUm jdRPEFrhH6O2NTWug/7s2Tn81FSI2B/pQ1c1gNy8gLX2RZEQ/mz8cMHb2uWIN+1Y9x2T XnTnbIPlBqUBhacNTpKqNA8MCiy03fcuEz4hk3PXiwX/hZ4Z5N+b+NJuNBXHmLfGMnDA 0oo8zVHAkK3il0/iEA6cga31vrIAiLlEgAv/qFVD8DiTUJEq9lh1wZAG60h4Gtjtqvhy mlCuP2YMVfMq2dFhs9dMVIMa/u1vrVo6li3nIw9dL3sZHkJfS9W3yPQAEml1MTlmSFhY Ka3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686891106; x=1689483106; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ID1buYmBd+zugYzR9eF2RZI+zEcBY+p7EIdtrVafyF8=; b=Qsdk7bcicPKwYlk80tlntqUKxeqyyhwoPkQisFl3sf0CjnP40MzO4pL7ccZ7+24dHT CcSxzEhkqIRfGl+K5Vcl6FAPpZgJw83da/F6ztyItp1VUMKEBwQtuRfughKqrkDjulZs x5Vyl9vD79EKrHDXRKMmyOBk9PFDeKAUmeLbGL1/6lJW7b0K2DBH2XN5Ingpn2hQnQEh DQ9hPjpKZ57kbvOX2ztcOLCS6YRcUbFX9tFqvPnPCEH/lqB4iC/wv8iB5fSC6M0LMfrL BqC60EGEa70WZwGcx6J8SZG7lDz4P0mA7PdSkbYLLwQeds1dxpn5BWE9+T0i/2ewFC7l y1Tg== X-Gm-Message-State: AC+VfDwcA+WIKz1HBBuujg1le1/QDqnCpzselbqHXeU3lI2NL+s4yjcr O09cmY1QqDNiGGv4+fl5QRlCD2dITzWx3/YV6jcwvA== X-Received: by 2002:a50:9e07:0:b0:50b:f6ce:2f3d with SMTP id z7-20020a509e07000000b0050bf6ce2f3dmr199397ede.0.1686891106375; Thu, 15 Jun 2023 21:51:46 -0700 (PDT) MIME-Version: 1.0 References: <20230614180837.630180-1-ojeda@kernel.org> <20230614180837.630180-2-ojeda@kernel.org> In-Reply-To: <20230614180837.630180-2-ojeda@kernel.org> From: David Gow Date: Fri, 16 Jun 2023 12:51:34 +0800 Message-ID: Subject: Re: [PATCH 1/6] rust: init: make doctests compilable/testable To: Miguel Ojeda Cc: Brendan Higgins , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Alice Ryhl , Andreas Hindborg , Philip Li , kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002f5c7405fe37f160" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 --0000000000002f5c7405fe37f160 Content-Type: text/plain; charset="UTF-8" On Thu, 15 Jun 2023 at 02:09, Miguel Ojeda wrote: > > Rust documentation tests are going to be build/run-tested > with the KUnit integration added in a future patch, thus > update them to make them compilable/testable so that we > may start enforcing it. > > Signed-off-by: Miguel Ojeda > --- Reviewed-by: David Gow Cheers, -- David --0000000000002f5c7405fe37f160 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIPnwYJKoZIhvcNAQcCoIIPkDCCD4wCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg ggz5MIIEtjCCA56gAwIBAgIQeAMYYHb81ngUVR0WyMTzqzANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA3MjgwMDAwMDBaFw0yOTAzMTgwMDAwMDBaMFQxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMSowKAYDVQQDEyFHbG9iYWxTaWduIEF0bGFz IFIzIFNNSU1FIENBIDIwMjAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCvLe9xPU9W dpiHLAvX7kFnaFZPuJLey7LYaMO8P/xSngB9IN73mVc7YiLov12Fekdtn5kL8PjmDBEvTYmWsuQS 6VBo3vdlqqXZ0M9eMkjcKqijrmDRleudEoPDzTumwQ18VB/3I+vbN039HIaRQ5x+NHGiPHVfk6Rx c6KAbYceyeqqfuJEcq23vhTdium/Bf5hHqYUhuJwnBQ+dAUcFndUKMJrth6lHeoifkbw2bv81zxJ I9cvIy516+oUekqiSFGfzAqByv41OrgLV4fLGCDH3yRh1tj7EtV3l2TngqtrDLUs5R+sWIItPa/4 AJXB1Q3nGNl2tNjVpcSn0uJ7aFPbAgMBAAGjggGKMIIBhjAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0l BBYwFAYIKw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