Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1219393imw; Sat, 16 Jul 2022 01:24:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sNQcJQoEAiHl3Zm35JHEs0poxVHPFeWKvv+gdsvtN1AxvEG87IERPhA8jqbAKoa/ztWzSy X-Received: by 2002:a17:907:3e86:b0:6f5:917:10cc with SMTP id hs6-20020a1709073e8600b006f5091710ccmr17764140ejc.53.1657959869859; Sat, 16 Jul 2022 01:24:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657959869; cv=none; d=google.com; s=arc-20160816; b=n+BuTpsoLvo0OTvquA6RWVOjID+FfnNgYy5IDtdKpVa1grrUvMbL9dbnogjkMgeRvb 8h941bvBRLkkCZFsVIcYEzIPPAAu1f5rb00Ypycq1fi15CP0+9EUc6CW0yAfQR4XCFHb qo2DkR5NTkRNzvcF9vKRLhmPMTbLerNCQXr+ijpYvEixEr/GAz9PMVBdJFPNT/D+Nj9x TE03ZsL9wcfDir+28KbCYVwbHu7FwU582p/E+tcqroKYcJwqNePXqTO78DkFcncYOSQ0 cFEh0nm3A6Y/CgEUPwa2QCOc0Ub+kli9cPiVmicYf8JDwz0i0yfxGsByQqhdT/RvOZYl kvKg== 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=HFhi2GgLg7oEsoRiMqw8ZEkU/FUuixaMOlho3HR5dck=; b=k339w54lSxYvQxDutT0Jxjw9MkNkMgrLRpa2IEDAmuWGN4oABiuAuiZwITOnkEAycC IZv+cE+NHuIioj54KelSNAakG6U/fGQ7yhEkvIJBp/7j9tFEH9v2CR2SB6dI31d+j1y3 3FGuPpHZC+zdzpv6LA27hqsxhlq1iy1QRTWVG5kjfAs5XhikOb36WmqlByp865Ts1S/3 THZIq7sseL92sP9+m2vRLsTJ6Z16tHAFg2qKCgLQYKnbaO5Eq5prlNZtC5Ht2wKyuOuT d2LJppFQMascP4FQQ9DTgw3xP4txwoqzWJFNXIwNerFQWk7twCnAvx9ygZgrQQuv+JWz 1o/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=KQJPy4zY; 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 cs18-20020a170906dc9200b0072b5ed5a846si9994607ejc.43.2022.07.16.01.24.05; Sat, 16 Jul 2022 01:24:29 -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=KQJPy4zY; 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 S231750AbiGPIWy (ORCPT + 99 others); Sat, 16 Jul 2022 04:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbiGPIWx (ORCPT ); Sat, 16 Jul 2022 04:22:53 -0400 Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F8D23718C; Sat, 16 Jul 2022 01:22:51 -0700 (PDT) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 26G8MdC6030466; Sat, 16 Jul 2022 17:22:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 26G8MdC6030466 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1657959760; bh=HFhi2GgLg7oEsoRiMqw8ZEkU/FUuixaMOlho3HR5dck=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=KQJPy4zY+KApyeS3nNKLZow7zNLtMccILdnCvGvqjtj+bVFKqJUrl/p26RcEfr0lR EsgJmADi6rIyoDr0VNkeQ9uUwFBfqDqEgN5AENI4WA1YjqWf0Fu9NrBF860LUvEhLm L2unvwJO7KBYkbGD2R8RaX524t8nvxYhy/YfYn9/wb15INl0HVt4AU0gi04OhrdhyK F+N/Nk5jHOQfD72VFKybMPJxZQRMuclRAzaxyjH/mwRz6df56v9M9FQIu+wKIL6Bkf ythtgKpy83ZwCtPuET3JGvFDboEs/odnApnmUemm4fPyrfwXw8Umd7R7PJyhdCTK4o xMVx1H6yxI8Rg== X-Nifty-SrcIP: [209.85.128.42] Received: by mail-wm1-f42.google.com with SMTP id n185so4053007wmn.4; Sat, 16 Jul 2022 01:22:39 -0700 (PDT) X-Gm-Message-State: AJIora9NNEzbtGpIMSU6vehTraqGUNXSmBEin+QvhYyhihIMQKk0RyiP p8JSJ8MzgphNrqV+jd1Zz5dUSu6D6BmtDzycrOM= X-Received: by 2002:a05:600c:35d6:b0:3a2:e873:6295 with SMTP id r22-20020a05600c35d600b003a2e8736295mr17513065wmq.22.1657959758310; Sat, 16 Jul 2022 01:22:38 -0700 (PDT) MIME-Version: 1.0 References: <20220523020209.11810-1-ojeda@kernel.org> <20220523020209.11810-22-ojeda@kernel.org> In-Reply-To: <20220523020209.11810-22-ojeda@kernel.org> From: Masahiro Yamada Date: Sat, 16 Jul 2022 17:21:59 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 21/25] Kbuild: add Rust support To: Miguel Ojeda Cc: Linus Torvalds , Greg Kroah-Hartman , rust-for-linux@vger.kernel.org, Linux Kernel Mailing List , 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 , Miguel Cano , David Gow , Michal Marek , Nick Desaulniers , Russell King , Catalin Marinas , Will Deacon , Benjamin Herrenschmidt , Paul Mackerras , Paul Walmsley , Palmer Dabbelt , Albert Ou , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , X86 ML , "H. Peter Anvin" , Linux Kbuild mailing list , linux-arm-kernel , linuxppc-dev , "open list:SIFIVE DRIVERS" , linux-um@lists.infradead.org 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 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 Mon, May 23, 2022 at 11:04 AM Miguel Ojeda wrote: > > Having all the new files in place, we now enable Rust support > in the build system, including `Kconfig` entries related to Rust, > the Rust configuration printer, the target specification > generation script, the version detection script and a few > other bits. > > Co-developed-by: Alex Gaynor > Signed-off-by: Alex Gaynor > Co-developed-by: Finn Behrens > Signed-off-by: Finn Behrens > Co-developed-by: Adam Bratschi-Kaye > Signed-off-by: Adam Bratschi-Kaye > Co-developed-by: Wedson Almeida Filho > Signed-off-by: Wedson Almeida Filho > Co-developed-by: Michael Ellerman > Signed-off-by: Michael Ellerman > Co-developed-by: Sven Van Asbroeck > Signed-off-by: Sven Van Asbroeck > Co-developed-by: Gary Guo > Signed-off-by: Gary Guo > Co-developed-by: Boris-Chengbiao Zhou > Signed-off-by: Boris-Chengbiao Zhou > Co-developed-by: Boqun Feng > Signed-off-by: Boqun Feng > Co-developed-by: Douglas Su > Signed-off-by: Douglas Su > Co-developed-by: Dariusz Sosnowski > Signed-off-by: Dariusz Sosnowski > Co-developed-by: Antonio Terceiro > Signed-off-by: Antonio Terceiro > Co-developed-by: Daniel Xu > Signed-off-by: Daniel Xu > Co-developed-by: Miguel Cano > Signed-off-by: Miguel Cano > Co-developed-by: David Gow > Signed-off-by: David Gow > Signed-off-by: Miguel Ojeda > --- > +# Rust targets > +# --------------------------------------------------------------------------- > + > +# "Is Rust available?" target > +PHONY += rustavailable > +rustavailable: > + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/rust-is-available.sh -v && echo >&2 "Rust is available!" > + Is it intentional to print the successful message to stderr? -- Best Regards Masahiro Yamada