Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11201590rwl; Mon, 2 Jan 2023 16:24:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXvM27D9WONMZx+frPS/k5xicTkypW64F6Tv/UwCLr4ssRRPtUrU8AFXLdBVxFk6MYzgJ1if X-Received: by 2002:a17:907:3888:b0:83f:757e:f182 with SMTP id sq8-20020a170907388800b0083f757ef182mr35309239ejc.65.1672705446930; Mon, 02 Jan 2023 16:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672705446; cv=none; d=google.com; s=arc-20160816; b=JL81sXJZK/ySbIzLuhQwXlPwU83c6JkfdjsY0s3UgRJcmRkoiv6+3068+FKtczYPvm iWP/Ac0ztRM6cuzoveheJOk/5McJuJJmGupR/pInRa8pe3yogSlkcHKrqg62zrUB5umb nPGXIRl/Lzh9Ap68WKH45y9MuH6xmRssMZcTic/VcCNrkV4EUIadb3/SS+MT9mJJWvw2 LNHhP7ojd85hmOFBOhyn4y6w5VGftlSEgzh0/V0IWRpEdhxTGU3yd7PlaHRfAmCyxvzp Hmpu4OIV2wxeeUWdof2YEB8JqQ6ynRU/6HtCd3/+6tOFazs3Y3Cy6I+Q3cZw3pK7klSc gvrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=avP7SOJdHkgVb2BCcWl6rx6zsHzyw9Bd6lyElnyQWOM=; b=FgDP1u6wE0J2Hl0DLWWScKi8V+Ts1riZkFAICe7RgwRui7muGT+tTpv7YD2DwqNlH6 ubf9iWXllm566c+vKls5lLaEo325T5e1Gz640fgpnTQe3RUCNhn6qkRxvpqMyikKX1ys dJl/6rCFngY7NFC7JlxmY7W2pmjUd5N+5ncVDg3pgZvhjTEVlQUIdHUvoFmYrcbjV8RL omABN9s4KMjVUd1gE6uNO+FRYSEfLBan6gg6b2NJdCDpKDU6OYkyyX33fItjEsZR5Na3 9/ww8sJilVPTgJPp++YdjMnyIgr3pHMVRh1qNaje2x4EusMfnpqWTYRrSaCKaS3fSpBd YWvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=gz3B5hm3; 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 nd10-20020a170907628a00b0084c86ce4139si13141272ejc.281.2023.01.02.16.23.48; Mon, 02 Jan 2023 16:24:06 -0800 (PST) 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=@lwn.net header.s=20201203 header.b=gz3B5hm3; 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 S230396AbjABXyC (ORCPT + 62 others); Mon, 2 Jan 2023 18:54:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjABXyB (ORCPT ); Mon, 2 Jan 2023 18:54:01 -0500 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4133060DE; Mon, 2 Jan 2023 15:54:00 -0800 (PST) Received: from localhost (unknown [IPv6:2601:281:8300:73::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id C62372C8; Mon, 2 Jan 2023 23:53:59 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net C62372C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1672703639; bh=avP7SOJdHkgVb2BCcWl6rx6zsHzyw9Bd6lyElnyQWOM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gz3B5hm3TeOraHRKWG6FsC7XiGNBc4bA09r1Gj8iDH5nt19gd+TlPX//MhQTbNERV tYtFEJCk+kXdFmCx3qcnFn9eN2gVvyRcT3bpLResS87vWLl0X4H3rnYc9GIBJrArH3 3hRqIGkyuqMaPD19JUa/G/RjQjQr4S3Y3ffOSlq9qbCxogtmg4kKQC4XEyrHKOGulJ e4qZLd/Puo/5LEuSSLWQgvZeEcfiIvmeKPuLL18fJpbz7ISXi8HV6rOZ3I2JmIygdw 6GvXns3XolOJ8/5dxjCoWzJAHWn3YPf47lob/9g5JtZilw4Q8nnQ+VotyZHbGwItlV +Oo63s6zO86yw== From: Jonathan Corbet To: Carlos Bilbao , ojeda@kernel.org, akiyks@gmail.com, jani.nikula@linux.intel.com, rdunlap@infradead.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, konstantin@linuxfoundation.org, Carlos Bilbao Subject: Re: [PATCH v5 0/2] docs: Integrate rustdoc into Rust documentation In-Reply-To: <20221228174623.144199-1-carlos.bilbao@amd.com> References: <20221207173053.1463800-1-carlos.bilbao@amd.com> <20221228174623.144199-1-carlos.bilbao@amd.com> Date: Mon, 02 Jan 2023 16:53:58 -0700 Message-ID: <87wn64fq7d.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 Carlos Bilbao writes: > Include HTML output generated with rustdoc into the Linux kernel > documentation on Rust. > > Carlos Bilbao: > docs: Move rustdoc output, cross-reference it > docs: Integrate rustdoc generation into htmldocs OK, so I just gave this a try... - It forces the generation of a kernel configuration, something that the docs build has never done until now. What are our changes of eliminating that? - It did a bunch of other building, starting with objtool - again, never needed for the docs build before. In the end, it died with: > BINDGEN rust/bindings/bindings_generated.rs > Failed to run rustfmt: No such file or directory (os error 2) (non-fatal, continuing) > BINDGEN rust/bindings/bindings_helpers_generated.rs > error: Found argument '--blacklist-type' which wasn't expected, or isn't valid in this context > > Did you mean '--blocklist-type'? Perhaps this is because I ignored the warnings about my Rust toolchain being too new? (Rust 1.65.0, bindgen 0.63.0). I get that only one version is really supported, but it would be nice to fail a bit more gracefully if at all possible. Anyway, I've unapplied these for now; thoughts on all this? Thanks, jon