Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp289483lqp; Wed, 22 May 2024 04:59:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVnXXnye2Vx2d670FAEWPlSlK0klWtwEJomtc3oL/jHRm/CCn29DRzzLESrN3cRN2now7T0VMIwtPqHzzho5e4RdQllKq6+4V9gI+Uw6w== X-Google-Smtp-Source: AGHT+IGLSpenyCoaWZ60QfM+EXxJqUY/PvRIEmszk93OHfpzFbysiXt2UtzX2BIQbzMm7HxWkwRe X-Received: by 2002:a17:90a:5215:b0:2bd:9256:8ce0 with SMTP id 98e67ed59e1d1-2bd9f461ecemr1910156a91.14.1716379194122; Wed, 22 May 2024 04:59:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716379194; cv=pass; d=google.com; s=arc-20160816; b=f0izzVbuQnfi28YgvrYWG/Wk8IdX3NC8Rwl1U3Vro8TQsaBuO18y6m3p299dnxZRGy i1YcVGoRIIgwTwCHvN6+YI5RttOdCnsY8zMbzrxFURleijCaOlFAVxFO7SZWZH1VxTsv VP+CDrh7qSW8ymXrwn9EO4lDRXBdhvKbgia6ViayqDHrhG4kDWyX8qvruJvz484TQ/Gr vswjIyAFT0RxGrGJq/ckwY94Ka0QO+LdZ2yc3OwqZiZBeQOLMCqedfZ+Pr6T1nGkoL+E BTjuBS5LdX4nRB/mviW/e0wl1Atyp+S4Qtip7IMfJgquC4GTA6ucYR0yWuEfaiDKPk2h bRKg== 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=cuGc8Pu9YBooy2bz94a0RDTpxwgjGmzp7A3RCV71uBY=; fh=FCdhD5D1KA+YXhhFjB+aTxt5sV+DZXarHExGXqrubGQ=; b=UFoD8SxSUPeOcJBXmkhpiVeBpP7023TelZoZv8mh5N2gigwWp9AB6aYmxRlU1+qwi+ 5pKfuHKBCOoe8V77g9XjSx1Nk7UJtzl3dIvUdcavuXrwnVXp9h/h+U67+zit/DVQ4qeb Ds5wH2Fm6ZGGelCrrHI6oqfq1gobJ5Fv7cmH2YV03EwbRlBIXtr+PMCWztaqs7/Lv7RK r7CtM0LWfHzmHleYc2AKKjhzKHIXX8TXLLoKEsZhRNSM9ob2sPlfMLtqTGnC9k6e63lC R1dA787rz1JBCKUQpQYyMb3geUjj9pambdq9ihhlU+zLu0Ew4gq8tgtl1WqELjjY0aUP uBMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hcnbO8mX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bd80a23458si5146807a91.101.2024.05.22.04.59.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:59:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hcnbO8mX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-186180-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BC309283CEE for ; Wed, 22 May 2024 11:59:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BBED13D53C; Wed, 22 May 2024 11:59:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hcnbO8mX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B488C757FD; Wed, 22 May 2024 11:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379184; cv=none; b=f/52TquhnAuNeFI9XGI9/PRih+qtoiPcjikzmwK0Ry5vsfDMCYsCMbxshQ0E/X1v9s+Agzi8uZCP7MwwyTcri+TVPfxfm7NUSNOGXM0Ye0pS0uKyeZsK/ZHJXporLMIUgYZPIgX1+GBnt1AXXb5HPAjPfMQ5N9ejvbAA421azEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716379184; c=relaxed/simple; bh=cuGc8Pu9YBooy2bz94a0RDTpxwgjGmzp7A3RCV71uBY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=l8WiGbyaSQBixlFRWV/WMnWU/81VurSjDfzE40kSygx/S0OfSUD9jI0B9iPcO5oHpdFszktQKZM1WIuzWZ+n1lC8506D0gfXXF7TLmyw5l7SqHxRoZGeYW16ZVuvgcCW8vRJzDy1BgaNI8FOKd6zSycQNIa5aF8JwQPxzoq6sUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hcnbO8mX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B298C4AF0E; Wed, 22 May 2024 11:59:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716379184; bh=cuGc8Pu9YBooy2bz94a0RDTpxwgjGmzp7A3RCV71uBY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hcnbO8mXFpIc91wErXvGslZ3sgAyS68n+Y5nJuYxtxXdpA92NNES6C4Rd2jaQr4Ye XerDk0Wk7MSFONF2RF7Pq/6qN5F4Gk6qI72QMSHhTOOiqyLurtWb6KtAEQpCo5FvW3 SQmEGrFlAHZ5ZvVCrjv8l2LEssQWura3MVi+J2W/yc60fhDk12N4LC/M6MSmx73uyl XXbX1O6HEZ32+bBS+kL2DewIh+hJdSORh5Yw2DdMYi3wBu44suBRmMLpU5oxWH63Qx RRC9WChlu4vOeiYIjRAfssZC1fzcVO7Xfn3fXNdnlXpBnS4O8pNuDo0rzLz+/40/oW mn3THbRU1bZ+Q== Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2e3b1b6e9d1so75567341fa.2; Wed, 22 May 2024 04:59:44 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVeqQQFtj9EcIDpg2KdDFI5/5JA/Fz9dGZIFsBwNymOHLHhElZju/3GiUodwLj5etdumDr/+kZ3EG8u/DwJNVlCAQg+a0ULOcwnJ38Q5ARoeKtlWX2D7TGAFp6dGGaWNR9SdPTptxXTz//VRQ17UL/bopV9AroMDgHTAnJ7A1xa2yRVzBp/9S7JAbc= X-Gm-Message-State: AOJu0YxJsLh7f6T5NiwU+/rEFKYQTsvfNs5sQdAZRfb3PYJFL2vsOJEO 9ZVhZOIE0u5zuPhe6lodrPNS9Jk8Jzpd4biPqyRrYN3ryKiG9Pewd1TuKsXLHmKe6dsgC6RxYMe qGdzX6dwMC0szPA28obafC7syQKU= X-Received: by 2002:a2e:8904:0:b0:2e7:1bb6:2e8b with SMTP id 38308e7fff4ca-2e949540f5dmr11986731fa.35.1716379182789; Wed, 22 May 2024 04:59:42 -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: Masahiro Yamada Date: Wed, 22 May 2024 20:58:46 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3] kbuild: rust: apply `CONFIG_WERROR` to all Rust targets To: Miguel Ojeda 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 7:52=E2=80=AFPM Miguel Ojeda wrote: > > 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. You can do this if rebuilding makes sense when any CONFIG option is changed. > > 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. Surprising. It potentially generates different documentations depending on the .config file. --=20 Best Regards Masahiro Yamada