Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1181430rwb; Tue, 27 Sep 2022 09:24:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4d8Tn5500fr4Mkr2wFDposJzoIgD4/cz2Zval06SaGTj4TzGEdRoAP39MVve8Ebz/bnBfZ X-Received: by 2002:a05:6402:5162:b0:457:6ef2:df3 with SMTP id d2-20020a056402516200b004576ef20df3mr7592880ede.128.1664295897344; Tue, 27 Sep 2022 09:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664295897; cv=none; d=google.com; s=arc-20160816; b=yeikrGT0k54VyGsdk2r9i8SCQbdtUmWhRrcUejzQ5MVhlpD2Jkq73XekhIkn7K9Fqh /Dv58jjPdrMmxwp3cJMRcUXxaMrukNXaN82rXhHuxQ+g8mKjbkXvOQkJ9UYVR75+h5tm uNV6yK+d3yemww91Q8blgHZEkiFii6VCyOQR0XR5UmraHv+0JMuNFJkrfi4Hf+qhVieR PNkaxG/gorYZko1NT4dzy4BEVkMEtSYTItEDAQKNkGYBHC1NOnkkDIITRRC+ZyUfa5ld SjSibB71y3zE10Jq9oTEfzYMHGFxLO3Q0w+22pmwP3+1qyq52PKfM8IGl3texS0h1jpm aLxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5cA9A+4SqxcYHGEJyqdAmcLRzcr5z7OyvZGxdkBj2Lo=; b=sqmNqayojm4fme/2tW7nYMpjGnCU2NuK86WODH2msHiTOo06UvMzZBUinHXympBZNZ Z0CaDNicRcK5rNzTybJ2PXK6+/g9mw+DJ/gCr3SFgtUulCsV07PStb+kqIKoeMPO0oDy 9bAqYS3KapgPxgxanFn8r+AkvS3iXBgXr0ElzwEQA4J5yuOVeLOPvAakAl2dbgZBgLam KP/3Hiv2pfnOqMiwLQuZtf3FKX8Hs4yT0dAQ2WrMhN6l0QCl7hGWWNvZRx4uk+yh+s/k X1gkDOHHTHuENoiEzfx3f30kY4xskE0djVgN0YCw/7J8pMsccqxmfQujFPNP1IHIigBH gwOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=M0OG5AB4; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a05640250cb00b004483a12fba9si2313880edb.210.2022.09.27.09.24.30; Tue, 27 Sep 2022 09:24:57 -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=@linuxfoundation.org header.s=korg header.b=M0OG5AB4; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231655AbiI0Pa6 (ORCPT + 99 others); Tue, 27 Sep 2022 11:30:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbiI0Paz (ORCPT ); Tue, 27 Sep 2022 11:30:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51310A7ABE; Tue, 27 Sep 2022 08:30:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0A103B81C5C; Tue, 27 Sep 2022 15:30:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40656C433D6; Tue, 27 Sep 2022 15:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664292651; bh=KkONLbw354gmM11QpeIodg4A6ac2eweBJJjS1Gdelbg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M0OG5AB4B++z0w2kxIKqmRVr/IDEaSEIyw4LjNzqXRFmy/sst6+MLtL3WFIwHcpZ7 ApLzhyYZ5Lq0R6GEVVJP/TisYm6KB6o6/Ezofob6Q+BRB8WVksv3eo4vupUTLZoGuS Rsn1kwWHlzoOQ7R52pCIabivWdIvAnaOk5Wmeqls= Date: Tue, 27 Sep 2022 17:30:48 +0200 From: Greg Kroah-Hartman To: Miguel Ojeda Cc: Linus Torvalds , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, patches@lists.linux.dev, Jarkko Sakkinen , Kees Cook , Nick Desaulniers , 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 , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Martin Rodriguez Reboredo , Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org Subject: Re: [PATCH v10 23/27] Kbuild: add Rust support Message-ID: References: <20220927131518.30000-1-ojeda@kernel.org> <20220927131518.30000-24-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220927131518.30000-24-ojeda@kernel.org> X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, Sep 27, 2022 at 03:14:54PM +0200, Miguel Ojeda wrote: > Having most of the new files in place, we now enable Rust support > in the build system, including `Kconfig` entries related to Rust, > the Rust configuration printer and a few other bits. > > Reviewed-by: Kees Cook > Reviewed-by: Nick Desaulniers > Tested-by: Nick Desaulniers > 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: Bj?rn Roy Baron > Signed-off-by: Bj?rn Roy Baron > Co-developed-by: Martin Rodriguez Reboredo > Signed-off-by: Martin Rodriguez Reboredo > Signed-off-by: Miguel Ojeda > --- > .gitignore | 2 + > Makefile | 172 ++++++++++++++- > arch/Kconfig | 6 + > include/linux/compiler_types.h | 6 +- > init/Kconfig | 46 +++- > kernel/configs/rust.config | 1 + > lib/Kconfig.debug | 34 +++ > rust/.gitignore | 8 + > rust/Makefile | 381 +++++++++++++++++++++++++++++++++ > rust/bindgen_parameters | 21 ++ > scripts/Kconfig.include | 6 +- > scripts/Makefile | 3 + > scripts/Makefile.build | 60 ++++++ > scripts/Makefile.debug | 8 + > scripts/Makefile.host | 34 ++- > scripts/Makefile.lib | 12 ++ > scripts/Makefile.modfinal | 8 +- > scripts/cc-version.sh | 12 +- > scripts/kconfig/confdata.c | 75 +++++++ > 19 files changed, 869 insertions(+), 26 deletions(-) > create mode 100644 kernel/configs/rust.config > create mode 100644 rust/.gitignore > create mode 100644 rust/Makefile > create mode 100644 rust/bindgen_parameters Reviewed-by: Greg Kroah-Hartman