Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6218371rwn; Tue, 13 Sep 2022 00:16:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR4g53khDSgvjbEWhyZ65Lv/mGiHAhLwc19QAv0c8PV3V4TXOJaCw4aFU8wgE5rGjtPH9W8S X-Received: by 2002:a17:90b:1894:b0:200:b12e:9db0 with SMTP id mn20-20020a17090b189400b00200b12e9db0mr2419703pjb.219.1663053391947; Tue, 13 Sep 2022 00:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663053391; cv=none; d=google.com; s=arc-20160816; b=tHPqlrCVUXNS9vyffrLHY9qZ+rVd5DFojYw1MlkhvDKa/TM41aeJnZIplOfHGZP+ii e4A8YQXODSSJTZ1TU+YlwwfgRZAD3ZL/+NFlo4De5OzwhXMUSYVC3r/koSWscmPbM6fN uk8/QZNoITTi35/NRaNLTsfNbHrAgLyWnGotZzzR8gDIZYmskncMp+O0xgbA36CAPqxa gB89kuIiShUUFQCGkxkaY2Ne3wsBXDYBNbP7dAUgk0NkaLsItwNyEdsSqOr8KJz3sYrt 3rrxXxaUmZ6VUpJDQVm23cOsxflBVn0wN0Grvx0BTk6Zp3o8CyPagKZl/LCBdaVFo+qN kDMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=tV9nEuhwkJ7n1kuPj+d/5yMKIVBWOfelLB6nLnhI3Mk=; b=hsNKmwvffCDuNrQ4vaQeZ0OD1Qqc0+L0cDDC4zPzKTmgu1o3Lgu3m+ARu5veSHG7z/ TJShbEqpB8fETHC9wxj/s0VlyB8I6LXxPfoU0ab0iK8dtyrks3KCDJgE38SrBKBZW6Av OVic5tRRusvqxz8ktLcJBbHV0DyDGllh/tBdXHKcUvq0bTUk6qxLNKmAaqzrBdxtE3Wx /uH6x4V4htTHkG/mF0iqigc5e1fN7j0vIQUQIr5zziC19chVtgI7tTwqAAwhlFMnZp2J qxast70q9eqVcCCEGshJdCmYbyYkd7XMMb5sY7LWHx56osODFY7H0cw3d0CUQrQfC3WU FOKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b="nm7qyo/Z"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ms12-20020a17090b234c00b00200b2891af7si10275061pjb.66.2022.09.13.00.16.17; Tue, 13 Sep 2022 00:16:31 -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=@nifty.com header.s=dec2015msa header.b="nm7qyo/Z"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbiIMGi3 (ORCPT + 99 others); Tue, 13 Sep 2022 02:38:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbiIMGi0 (ORCPT ); Tue, 13 Sep 2022 02:38:26 -0400 X-Greylist: delayed 52187 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 12 Sep 2022 23:38:24 PDT Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B09A4F183; Mon, 12 Sep 2022 23:38:24 -0700 (PDT) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 28D6c01e019386; Tue, 13 Sep 2022 15:38:01 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 28D6c01e019386 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1663051081; bh=tV9nEuhwkJ7n1kuPj+d/5yMKIVBWOfelLB6nLnhI3Mk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=nm7qyo/ZC8X5f+9Ia6Hy/XzQk6ncm8qP33zbXv9UtHpUJqgVPmyYTyw7o7AuLActU 5krhadDZtEg101BvUQFJNd1U/RdwtulP5zGgTYqYqDFNeHECFrtCWOuPiSLIDpPUFK KFMXczU460o4Nvr+PVrQHFsRkhQVf5EH6lUjhczfQEfdYrc0pt/UAgEj9lYT1qVQTj 6OZ3+oMpCx+uxWqLzDQ/DDmyF1hh+O2+JGBZ38ANs4Leadxx4DkWXquNBPMqiI0SSS 7wMzK7FsiuYTTJLuK/vWGzpDX3xVQXPb+UM2YPGCPXpKYczsWn/nYkHbVWwAL/Gc6k OLKmroaCMPRtg== X-Nifty-SrcIP: [209.85.210.52] Received: by mail-ot1-f52.google.com with SMTP id ck2-20020a056830648200b0065603aef276so1995683otb.12; Mon, 12 Sep 2022 23:38:00 -0700 (PDT) X-Gm-Message-State: ACgBeo1sRIqBoChayjWSBZpZfaeb8cxVeiFDzbbA/aza6viJgoso2UFC JBdO3BwumHd1PttITVtGwUudAlTwiBfKjLNGF1M= X-Received: by 2002:a05:6830:658b:b0:63b:3501:7167 with SMTP id cn11-20020a056830658b00b0063b35017167mr12198963otb.343.1663051079814; Mon, 12 Sep 2022 23:37:59 -0700 (PDT) MIME-Version: 1.0 References: <20220805154231.31257-1-ojeda@kernel.org> <20220805154231.31257-24-ojeda@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Tue, 13 Sep 2022 15:37:23 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v9 23/27] Kbuild: add Rust support To: Miguel Ojeda Cc: Miguel Ojeda , Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, Linux Kernel Mailing List , Linux FS-devel Mailing List , patches@lists.linux.dev, Jarkko Sakkinen , Alex Gaynor , Finn Behrens , Adam Bratschi-Kaye , Wedson Almeida Filho , Michael Ellerman , Sven Van Asbroeck , Gary Guo , Boris-Chengbiao Zhou , Boqun Feng , Douglas Su , Dariusz Sosnowski , Antonio Terceiro , Daniel Xu , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Martin Rodriguez Reboredo , Michal Marek , Nick Desaulniers , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Sep 13, 2022 at 1:18 AM Miguel Ojeda wrote: > > Hi Masahiro, > > On Mon, Sep 12, 2022 at 5:08 PM Masahiro Yamada wrote: > > > > I have not figured out where this difference comes from. > > It is the `RUSTC_BOOTSTRAP` environment variable: it allows to use > unstable featuers in the stable compiler. Thanks, I learned a new thing. > > We currently set it in the global `Makefile`, but we could be more > explicit and do it on each command if you think that would be better. I checked "make compile_commands.json", but it collects build commands only for C. I did not see any bad scenario with the current approach. > > If you want that we keep using the global export, then we can add a > comment explaining this to clarify. > > Cheers, > Miguel -- Best Regards Masahiro Yamada