Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2102609rwd; Thu, 15 Jun 2023 22:13:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iFZEtEm/YNayUnXsAyg1eIi4IHdWSK30827+pCwSRAMDc9HRYv3YrOP3/46/Nq8m897me X-Received: by 2002:a17:902:cec6:b0:1b5:25f8:2154 with SMTP id d6-20020a170902cec600b001b525f82154mr711717plg.67.1686892430317; Thu, 15 Jun 2023 22:13:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686892430; cv=none; d=google.com; s=arc-20160816; b=TTlFSJmyo8kegDkDlhRidjPeI3UqMmAg+bpOM3HCTo/Uv5rgtgq25IKmJA7kDNKJ53 3S7XXKuyPHeSAN9oZW1MiWc9HiDxJ1E9/ymZUyty109zz+VmHWTZFxIoXKDTIPT/GOrL bLgf8HdNSpxw7kGV4sQcID7SI9UNVVpkXSG/K2pmLvini1UWFQgndDC6e/PeBgPpfu6m dJsaCIte1rZ8ClhKTgR5Vk8gaFc/Up03E32EFOFZ8XV4uXGXpMPtlX1lVwlXnUnXgW0K BgV5iPsP7R5mFtiL+3E0dU+QZsAXyJW6zTAjFqSO2BKogu8fJv8W0DwRebzdDBn3E8+8 d8WA== 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=sPfHv5l/gRJyilzeHRiwhMGoGeHAFtPrjNv0BFZR3XI=; b=Ep5pUsn4hdbur5bsnEG163i1DgQn5jyuv/W6KXWYJiINrpCrdm12vUO96Cawqg+BGK nHeyMCGxAFPiruo92X9023bwmlR1gmtGCOWMqAAQB7HJVRk8O2ENjgTJ/Wer1SilPA4H 78J0K9b/WB84Mkrw+M/ZSaiZzJ7q+urjZHLOM4oujqCuz18QBU+/sBFmsXqwAqhDGHPe qh7JdPIS111LBMEsroMr/DYdIrRkjkv+t9HOr/XpVMcW8BGLQ6gDy5PtKV/vuFOADU+m VHE8/R9qwXJvsykmZPOyL6xcXXuH9Qj3LwdQUVJSdB8qAXQ+a29kKkNJH2jFY5UpdCQw H+0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=lIJwiUvl; 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 i13-20020a17090332cd00b001addf547a59si10789391plr.0.2023.06.15.22.13.36; Thu, 15 Jun 2023 22:13:50 -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=lIJwiUvl; 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 S239734AbjFPEw0 (ORCPT + 99 others); Fri, 16 Jun 2023 00:52:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234125AbjFPEwL (ORCPT ); Fri, 16 Jun 2023 00:52:11 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF1B12D65 for ; Thu, 15 Jun 2023 21:52:07 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-513ea2990b8so6019a12.0 for ; Thu, 15 Jun 2023 21:52:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1686891126; x=1689483126; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sPfHv5l/gRJyilzeHRiwhMGoGeHAFtPrjNv0BFZR3XI=; b=lIJwiUvlaQCVetXrDnejmfeGWCh7GxnhZX17lGw+44UjwjQEn5lyKXSb5CkPga6lSk eYP/1JJ6Lc7OHWzk7CdSQor6daOmZD5O7kiLhD/fkBpx+J4K3krVb78j7tT24dnYJAD1 sBwPgcoxmIM/LI+pTZbIzZlK+A5FVedE/4IQPHWtTZS40W1Rf5adgF0Asv3+YrqVfS1B BaYyMXeaeHTG40SEGnvo9IbHnkHb7w8CbpKE269ezWjEztlnnIvjjVshDJeTmM5fkqdf ArLsbYV6cz4ycb8zdmFNeiJQs1M+YetqVSA9RnitEWP6bxvmTHGR9kgrkorOGo8yJVap NY5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686891126; x=1689483126; 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=sPfHv5l/gRJyilzeHRiwhMGoGeHAFtPrjNv0BFZR3XI=; b=L01IUgupmUnloyDxItj1v7TjQiIug5nzmfW1x5eNdGODe/SF6pRcnw4DRkhc0lY5sE N9rEmIx4T9ZhEC0rLWID3xDw7PetpWXlOv7Ll6XW5ZHaHEmkwrGRa3hpIGqqLiH4jg1U N2fUgoKmWSkAOewGXpXg/8kl53kCEiuEzpBIW7mTMcHFR0V2n+3mw8TmJrnizJKf7fR0 JrSghsq29Kxb01s07cAnKzRXaOGxK12E2TH3gEucio/jcOoY298XXNAZuBo0LCtKkQ48 QQVP004rxkwB2PaANkViPv838pG/MpnLloz85ZI8oW3sMk69Pbw1mvTsFLMLxkEK00xk rxSA== X-Gm-Message-State: AC+VfDy5x4SFc6wmceX5dOTpvE784BuzxwL0l/5anzaA/7A/tkPRvXoM t2gWW31mMjmvGQRLcPWoh4OaBShFxx9y+jQLaed0Hw== X-Received: by 2002:a50:d09c:0:b0:51a:1f15:9ddc with SMTP id v28-20020a50d09c000000b0051a1f159ddcmr192604edd.6.1686891126223; Thu, 15 Jun 2023 21:52:06 -0700 (PDT) MIME-Version: 1.0 References: <20230614180837.630180-1-ojeda@kernel.org> <20230614180837.630180-4-ojeda@kernel.org> In-Reply-To: <20230614180837.630180-4-ojeda@kernel.org> From: David Gow Date: Fri, 16 Jun 2023 12:51:54 +0800 Message-ID: Subject: Re: [PATCH 3/6] rust: sync: 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="0000000000005e40a005fe37f264" 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 --0000000000005e40a005fe37f264 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 > --- Looks good, thanks! Reviewed-by: David Gow Cheers, -- David --0000000000005e40a005fe37f264 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 BBYwFAYIKwYBBQUHAwIGCCs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