Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp257358lqp; Wed, 22 May 2024 03:55:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9ab+vyyILNgkzq55ccx95l94nmOWC+YcsD3JaJs5oqwy3iXS8zaiDRzGEuTq/JOK84ULqt548Zn+FMfY3UxpMs3Ed4RfbT7pOZ/MwCA== X-Google-Smtp-Source: AGHT+IE3aghfDeRWkgejVIJdzCHzcJgIX/KVlxrZIQwhyAiHv4FmaYcFVAGDsG99bo6Zp+zbNQP0 X-Received: by 2002:a05:620a:424e:b0:790:fc5a:1ffd with SMTP id af79cd13be357-794994c0aebmr180284785a.66.1716375308872; Wed, 22 May 2024 03:55:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716375308; cv=pass; d=google.com; s=arc-20160816; b=l5a1Rr3nvEA0uWYPxjAkzi4jMUY3ERdd5KKvByT7uAGwyt7rMosZKv/RJNL+cFgss1 416txcFmW1Ia1Eya63FDoCH3na56LWl0bBxKQkeZp/yvYaBGRnLmrRsTIv0ecPHPv6F6 oXtgafOFL/L9IXXHgCVxNWk2SpySpkAxAE9tgm9re9BMdn8CTKkk1h51Nce+v0KV1zcN NvTK8CMKBCms0B+/ARRciX5ntWG4dyQ1cdjBFncGWlz8OVbhyPnos7xFSu2r0ALNjErr AS0Vp79pTuIIkQgTYNvU//aF8aX0VqGMFa0ET59S4X9Yf8YqdHFTWPMGkRvFi7szc1EI C8xQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=0Y93dPhHvn01+Vtk2BQihtxVDdioBUNBOZ0XK/IR2XE=; fh=DKYlKiy+7o3EIqZF2zvZMi1V6+k224vmE63MvvY1lvw=; b=FIvymJwAmmdJnBWvvwux01bf+jAhnHbhqIGELNmIGbuO/O/LWkBXfj5iPezQqPpZw1 i9TdiXDVot8rcsthsnhWdPIPHhyR6haYOuL1T51XcQn1crDE/fpOeJxwMYAnNl0mkkqE 2bUB7lJaXC8x7xUpg1vc5iggAEVJT0UZ6NUJne3Tf87F5cWK+Dqd2mn4eUyq/NwVgB8+ xxXnL7KlM/5PGI5IM6uiVTnEDHBWJSalhQsBk3jQgvg5a/cJXH9BdIR8eo83drLWUN3f /fhnLtnpZ0ZUW/QZYjZWos8u9n2fx5dlNBYzNot8ze2HkNHPqqnMLqASeHsu/nLHlJWS 7Lxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XOMOKJyU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792d77a1ab5si2662996385a.13.2024.05.22.03.55.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 03:55:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XOMOKJyU; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186087-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 72C0F1C21603 for ; Wed, 22 May 2024 10:55:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 320118249E; Wed, 22 May 2024 10:52:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XOMOKJyU" Received: from mail-oa1-f52.google.com (mail-oa1-f52.google.com [209.85.160.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E7FA82899; Wed, 22 May 2024 10:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716375145; cv=none; b=KF/39C1+2MMyVq9nFtwQiEoy0zHsXyIHu8J66BIxX97UimqRP9ULkUnahSMpx1hwIR9YAjPUCohk7mbrxhcqqg04xk2MdRiyFfxXXXDQ3CkIYyLZsPkLBfrO7YcFNpR9FAYJDNpRUAYwFabiUvEj+WWtsoFs1+gbzXwb7ZdfS3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716375145; c=relaxed/simple; bh=0Y93dPhHvn01+Vtk2BQihtxVDdioBUNBOZ0XK/IR2XE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LDTFIyMe/KAaa6XDLsnAbC3XQGj5iOavBJe3kFdl/59bWt95+b+lPzI0UH2AmimaZUw7qOAItlhHGkTm7AxmL+eVWY7uwW1rF/7Te6rgAgcy5ToStSrbKDXFtiPFHBcZ2JEkAlrWZPSdlPWAJ5UsDhIXDmV4+oMCQ8rMaGOQ5f0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XOMOKJyU; arc=none smtp.client-ip=209.85.160.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-23dd94111cfso2964392fac.2; Wed, 22 May 2024 03:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716375143; x=1716979943; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0Y93dPhHvn01+Vtk2BQihtxVDdioBUNBOZ0XK/IR2XE=; b=XOMOKJyU+y0pRvwEvDzRIjRzXwPBQoJ0G3Uhj0tVqURysJK7YjuOjALbFpqjYXpQSz kDyqRXpE79uvK27tBUx50QlCg3U4tSCmHtbmSg0rK8xNgqz6vEHui46f1h2AUYgsOud6 9mEBh0w+jIVbjF9dwfMHgqDfJAJBIEMmMzFSPnFoCmu+h7Tc3xvnmtvmOoBWp29WMjrb EL8h84l4mSXLBE1mLCSFSPuTK9oKQrz81Qaq6teNeRw+QX/c+pX0OcGH8PHeOb5hgkSG 85LRk5P+NJXrmyVfy6g4+tfySK3yLr1Czmpx0sXyVCN0+jhAev1IZJss6wSJcZEV9QZP bPzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716375143; x=1716979943; h=content-transfer-encoding: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=0Y93dPhHvn01+Vtk2BQihtxVDdioBUNBOZ0XK/IR2XE=; b=Qevq2+BRRnrg9TEgtxardxvv3+znjdOI3e8KI4Ae310Zr0ZzN1IrmSRIgVSVUCnGE1 9yJ27EnQixOOVlobz/U/4ObmEUztRvmQVyf9W3Qezk1BPRRWqMtYLau7eQh0VroXC2uf wpe0AcaU5nlnwHXRz96PJO0jyKcHKLCQLbIySsgaremhCL/KlprpEuToL5U3qUiv/wri pfrRcxDamO1+NhAUYtj0lfPjKuAXHX8GdxGNArocakL61CunSUdZ5wH3qoILEQlManNW PT2X9vclFVbECcOs9NL6qrPtWIKt/WipynA3AqbsYT4NtZ9U8iGJlrJZAZpo7y3hm/j2 qu+w== X-Forwarded-Encrypted: i=1; AJvYcCVPTj0GWqVPnPOxWi/makaZtl6nFezr8/ycEhRHx2XB62Wz7P92ITMb98BGiuhFVvlIUAmTgNrPW4jIJQMoOetVsgT5HE7KdaZds4M1dM3xuie6Fxsc4vGmFYAsy7tlMIWnAtQWZA5NPLRHOJwJdyk77x9mx4YQHoNMbdccV3RzIq6wGIHfGC4mf+Q= X-Gm-Message-State: AOJu0YyWSPtbphxoTwEasQEWk/rCtvhAH/MJhVoBGERTDul9jIaKYfTH Ibu+ayIzErpFSWqkAmK/B/Uc42efUN2GIZADV7EMGeEUvYUzFBWBp6XZuC7VIGHXqYpFVKos4n9 BZq2LUVeTK72njTof/KHwhvTb3ns= X-Received: by 2002:a05:6870:e253:b0:24c:5018:e6a5 with SMTP id 586e51a60fabf-24c68aebcb5mr1986514fac.5.1716375143007; Wed, 22 May 2024 03:52:23 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240519211235.589325-1-ojeda@kernel.org> <20240519211235.589325-2-ojeda@kernel.org> In-Reply-To: From: Miguel Ojeda Date: Wed, 22 May 2024 12:52:09 +0200 Message-ID: Subject: Re: [PATCH 2/3] kbuild: rust: apply `CONFIG_WERROR` to all Rust targets To: Masahiro Yamada Cc: Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Nathan Chancellor , Nicolas Schier , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , linux-kbuild@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 22, 2024 at 12:14=E2=80=AFPM Masahiro Yamada wrote: > > What does "everything else" mean exactly? Everything but the host programs. Or as many targets as possible, if you think there are other cases that we should avoid. > Why is the .config required for generating documentation? `rustdoc` sees the code in a similar way as the compiler (it uses parts of the compiler); in particular, it processes conditional compilation like the compiler. So we need a given configuration to generate it. Cheers, Miguel