Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5750077iob; Tue, 10 May 2022 02:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjBO/FONFlcLOGKo7VEFNAYqYIFiOVg9Kni0nIqPXAbXvrm3u2HrAQh+hRF247XGDokybt X-Received: by 2002:a17:902:c7d3:b0:15e:b2f1:15f4 with SMTP id r19-20020a170902c7d300b0015eb2f115f4mr19977028pla.39.1652176135192; Tue, 10 May 2022 02:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652176135; cv=none; d=google.com; s=arc-20160816; b=A9U+UhqkQ/9msRgDQuUGKc9gCtbPkonSsvF3NNTGHHtIoci3uRzRvzSStxaKvSb2Ly t4GJ4JUcpx95SN+C8OsE70UOmx+T9lKt80KEs/zOje9oWUPjCT9pGz0rCaNeLAveiGN/ EeO1EwIjy6WZgFsLcohM17RpVMgm40/LIMrM7IxTYCfWFLu20/7zKP7Yr9KD4P5PQtND aXCwc9n0YBX+hhIYnMzJ3sJSxvtsCyhqFdmsH4JUaW9JcHK+1g9BOrKBCOPw4HNERa+Q qz8YbOqmvf3PXGT1DgDtpUnH+aAIXFpj6Bd5vx94/fAOMXZZ+G5fnYi1zA80kOuYSvo7 2PNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:dkim-signature; bh=Js/oWYE71aKyhQh1lChvQkRWgN+gDNge5zO1GV3PKcY=; b=MARWIAjVl4gMXept33vtu5e2vZxZtxksHd1GfIMfTRrQK3GUhZpUA6BDgykKbegQug UWxWf/fZQIpOBN4JlqHgSF8XoU/U98qu4mxG1CFxupwFywq0xq0CmMua93s+xhZKKwSS hFwK1R78P6Bn0jltZx26tpzqmjZQkBIFaSSgjm/67ZgrxVBfMgLEqK1OzjM7q5jzHAfz pmO4IqNRYjet2sbQWD4OfkJmnvSA1YktGg86o3Y5B/JwKB79y5uZCaWfAE0Tkohob+Z+ UdDW7xdp+juHfybsh83yDl7VHC2z7z0pffABbsrNrKRX0gXgEJc7ioZ8tWeY2HxVIwHP Pb6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canishe.com header.s=fm2 header.b=tQZieq2r; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=kyWYbdbC; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o17-20020a639a11000000b0038253c4de24si22357839pge.186.2022.05.10.02.48.40; Tue, 10 May 2022 02:48:55 -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=@canishe.com header.s=fm2 header.b=tQZieq2r; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=kyWYbdbC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233550AbiEJDTM (ORCPT + 99 others); Mon, 9 May 2022 23:19:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbiEJDTE (ORCPT ); Mon, 9 May 2022 23:19:04 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C8B228ABAC; Mon, 9 May 2022 20:15:07 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B7A573200942; Mon, 9 May 2022 23:15:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 09 May 2022 23:15:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canishe.com; h= cc:cc:content-transfer-encoding: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=1652152501; x= 1652238901; bh=Js/oWYE71aKyhQh1lChvQkRWgN+gDNge5zO1GV3PKcY=; b=t QZieq2rBtxznoUKnPlfNoorA/ODf0wz6ELmer95hypMgqFLW51CVRaX2gnXvBTpD OAnuBmtSBaiMj0qXQnuka9RFCuxiXdLH4c1cnuW0Vi2TSwRE+ArohH2/kfocp39v 1+pCu9WxAkHWTpf9xzDywXzt54mRRgHmojuHz77pVoiuMREF6Suum9id8n5YEHZG JOPJlr3vSSgTnrIq8c3IGycl7G9xMlOU9hXuU3FvRJ9aEWzz0qUfhZ80Y6tMN/4M IEhWrxv8fWuufcinxCtsHsbbVkcAQDugKsAf4F/tG8sNyilHB+r/PYCVVsEJAYNp s7fe92E9kLmw94vGL6xag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date: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=fm1; t=1652152501; x=1652238901; bh=Js/oWYE71aKyh Qh1lChvQkRWgN+gDNge5zO1GV3PKcY=; b=kyWYbdbC+5u4hU2GVabZUgaAaF2Kz Pui9obWGO2y90I5gKYbuxsqBy7vwlm4e4VrrFs4XTWo6ZekxzeoTwtUEoNBsc52J a+DcycTZOjrjT8bBMEDHVujqErpIntAhDwiow2NrRgfP+IA20KrNN1WUDL9cwTKz z/EKnPcqXTk2jBAxPk/AUboTv8LWmpz01BCZpa2MDVlTzDcbZTUc5OfCO7SId2Qn iHzYPrFy2G0tFOqf0BacjePL5X6zBGuT4xpthA+OoL5VjUZySpeJdnoEKn/zZC1a lqvQ/5Tha3nN4NlOjI0mla+sL9ik7rkc8/7OmBgrIJhKVrR8qU3GAn0Hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgedtgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomhepifgrvghl rghnucfuthgvvghlvgcuoehgsghssegtrghnihhshhgvrdgtohhmqeenucggtffrrghtth gvrhhnpeehfeevtdeuudegfefhiefhgfdvvdetgfffueduvdehfeffteelveetkeegffev vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgsg hssegtrghnihhshhgvrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 May 2022 23:14:57 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [PATCH v6 18/23] docs: add Rust documentation From: Gaelan Steele In-Reply-To: <875ymecp6f.fsf@meer.lwn.net> Date: Mon, 9 May 2022 20:14:54 -0700 Cc: Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, Jarkko Sakkinen , Alex Gaynor , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho , Michael Ellerman , Sven Van Asbroeck , Wu XiangCheng , Gary Guo , Boris-Chengbiao Zhou , Yuki Okushi , Wei Liu , Daniel Xu , Julian Merkle , Masahiro Yamada , Michal Marek , Nick Desaulniers , linux-doc@vger.kernel.org, linux-kbuild@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <0716311E-FD5A-489A-A17D-C427C1A0EE4E@canishe.com> References: <20220507052451.12890-1-ojeda@kernel.org> <20220507052451.12890-19-ojeda@kernel.org> <875ymecp6f.fsf@meer.lwn.net> To: Jonathan Corbet X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 > On May 9, 2022, at 3:32 PM, Jonathan Corbet wrote: >=20 >> +It is convenient to instruct editors/IDEs to format while typing, >> +when saving or at commit time. However, if for some reason = reformatting >> +the entire kernel Rust sources is needed at some point, the = following can be >> +run:: >> + >> + make LLVM=3D1 rustfmt >=20 > I will ask whether we want this, though. Why would anybody want to > mass-reformat the entire body of kernel code? This seems like = something > that would generate an endless stream of "helpful" patches and a lot = of > churn. That would only happen if the code diverged from rustfmt=E2=80=99s = output in the first place. Generally, in Rust projects, the source tree is always kept formatted with rustfmt - so running `make LLVM=3D1 rustfmt` would only ever touch code that you=E2=80=99d just changed.=20 Gaelan=