Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12545043rwl; Tue, 3 Jan 2023 16:32:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXvJXM4xbdAXVxNYDDrzKImW+5eWIzvvj2ZyJ8CG2NfTsbsk0zvbkqABCGkIag0Aj2BuCghz X-Received: by 2002:a05:6a00:1747:b0:582:7d41:c8a4 with SMTP id j7-20020a056a00174700b005827d41c8a4mr11992961pfc.15.1672792363708; Tue, 03 Jan 2023 16:32:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672792363; cv=none; d=google.com; s=arc-20160816; b=lm4Z7KgaEndivqz1wDHbw5bjb9aeyhe3F7o2hS/V+SJCbDu5z5YtOFdFKAf/voKq1S 6adiFn+6JTR00CrtZbAJABVL2A2oimk0t38PxxjsGoLA99+bUqb7SqpM/KIbjAF3k5qO GrWbiC09EifgWQ4cB6wrG+ENdshyQJ0vtYRPh+EQ+NIQN3zyX/Ey1MbsXoaXv/Jkr2/q RYNAsXoEWdgJTR08KsIN1vMMoeMCTVTV7W0xT/3Tf+ECziEiXt60om6opmgrpQhWYmRd TLdsWH/ACn7YvAE0OGZROD6EGYeq0wwSylAdrDWHQrG2p5s9SkH3jmMeW4Y45w07tUO6 eXJA== 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=S3spks9Z3wmS5gxYl1y0L64CJtVZjwQ9VVkqSNfKJcY=; b=JtosKEzitcd6MpFU34jhHntshbWwF2nzQ6xPlNfQYnbiN9DXDX7B6eeiCNjcA2PvH0 Hp4VypQDdR0MrP1eG9YHsqRWm3f1bj/ZpRbNhH8idYyxQCZ+QbwISdZfudPoHaf0zpRo mY+vCDjCHwMnE0Iehf9IkRd2pEPGSNpYZBa5Ot7jWroLbcZEAvACKqlBAUKZcAuEfRNc iO3LWlMPGqydWW78tK5D/V/WlCpWmO18W03JbPHrJBlxKoxkQt23jL/UnOlopXfMsTU4 NP8yqQoCJaCTKdVdD41W0ISuJrtF4o633OOEtYyHSJPbP2Qq2AJderXp36P1dy2hUDtE AxBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=rMJ28Ezh; 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 j3-20020a056a00174300b005787fd98b5fsi33081711pfc.274.2023.01.03.16.32.35; Tue, 03 Jan 2023 16:32:43 -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=rMJ28Ezh; 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 S238574AbjADAZ0 (ORCPT + 57 others); Tue, 3 Jan 2023 19:25:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238538AbjADAZN (ORCPT ); Tue, 3 Jan 2023 19:25:13 -0500 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A50E17072; Tue, 3 Jan 2023 16:25:10 -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 E0BF94BF; Wed, 4 Jan 2023 00:25:09 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net E0BF94BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1672791910; bh=S3spks9Z3wmS5gxYl1y0L64CJtVZjwQ9VVkqSNfKJcY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rMJ28Ezh6hVPz4pqbvWt/cRGjev4V/e1ApD+kqTclK6+wfPPXmeI79ArQTtFY/zUD tY9T5ICDW57fs9/ERtWFvTMcgcY0EW3jJ1U8EMI7In7uQzzg+rI/9qUe2eSFeo7R0H mSiZrffgtILUlLR4rRLQfKaUDV7zBbreSbwzauUK2DmlSiyT61+iAiVG8Covd6YEjm kGV+5z7UjSOOJrCpZf7NvxzMXoHd4ILJ6Zv+ceFd2ciaLsckWbhRoTXj3UBASivXfn Fetk6h9QLaikn8xLRFqd31dfyWnpAtXSE3ndWHVa5R6+6lfWJv/73Fao5YyNLLiQRK t4CCvJjB7r7zg== From: Jonathan Corbet To: Miguel Ojeda Cc: Carlos Bilbao , ojeda@kernel.org, akiyks@gmail.com, jani.nikula@linux.intel.com, rdunlap@infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, konstantin@linuxfoundation.org Subject: Re: [PATCH v5 0/2] docs: Integrate rustdoc into Rust documentation In-Reply-To: References: <20221207173053.1463800-1-carlos.bilbao@amd.com> <20221228174623.144199-1-carlos.bilbao@amd.com> <87wn64fq7d.fsf@meer.lwn.net> Date: Tue, 03 Jan 2023 17:25:09 -0700 Message-ID: <87h6x7cfiy.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,RCVD_IN_DNSWL_NONE, 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 Miguel Ojeda writes: >> - It did a bunch of other building, starting with objtool - again, never >> needed for the docs build before. > > Yeah, rustdoc, like the compiler, requires dependencies to be > available to understand the code. Thus some things need to be > compiled, like for the normal build. Does it really need objtool? A certain amount of extra building is OK as long as it doesn't radically slow down the (already glacial) docs build. I'd like it to not *break* the docs build if the right dependencies aren't there, though. >> version is really supported, but it would be nice to fail a bit more >> gracefully if at all possible. > > Do you mean failing in the `scripts/rust_is_available.sh` step instead > of warning? We could also add versioning information to that script, > so that it knows more about which versions work etc., but I guess at > that point it would be best to simply start supporting several > versions, which may be a bit too early to split CI runs on that since > it would require some degree of testing. It seems like that step should fail regardless, not just for the docs build, no? Otherwise, though, it would suffice to turn a failure to build the Rust docs into a warning-level event for the docs build; I'm mostly concerned about it breaking the build as a whole. Supporting multiple Rust versions would be nice, but it's up to you to decide when you think you can do that; I don't think the docs build should drive it. Thanks, jon