From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BEF5C433E1 for ; Sat, 11 Jul 2020 21:03:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3DF57206A5 for ; Sat, 11 Jul 2020 21:03:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727978AbgGKVD1 (ORCPT ); Sat, 11 Jul 2020 17:03:27 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:48469 "EHLO relay1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbgGKVD1 (ORCPT ); Sat, 11 Jul 2020 17:03:27 -0400 X-Originating-IP: 50.39.163.217 Received: from localhost (50-39-163-217.bvtn.or.frontiernet.net [50.39.163.217]) (Authenticated sender: josh@joshtriplett.org) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 16A05240006; Sat, 11 Jul 2020 21:03:19 +0000 (UTC) Date: Sat, 11 Jul 2020 14:03:17 -0700 From: Josh Triplett To: Linus Torvalds Cc: Christian Brauner , Nick Desaulniers , alex.gaynor@gmail.com, Greg KH , geofft@ldpreload.com, jbaublitz@redhat.com, Masahiro Yamada , Miguel Ojeda , Steven Rostedt , LKML , clang-built-linux , Kees Cook Subject: Re: Linux kernel in-tree Rust support Message-ID: <20200711210317.GA60425@localhost> References: <20200710062803.GA1071395@kroah.com> <20200710125022.alry7wkymalmv3ge@wittgenstein> <20200710225934.GA16881@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 10, 2020 at 04:54:11PM -0700, Linus Torvalds wrote: > On Fri, Jul 10, 2020 at 3:59 PM Josh Triplett wrote: > > As I recall, Greg's biggest condition for initial introduction of this > > was to do the same kind of "turn this Kconfig option on and turn an > > option under it off" trick that LTO uses, so that neither "make > > allnoconfig" nor "make allyesconfig" would require Rust until we've had > > plenty of time to experiment with it. > > No, please make it a "is rust available" automatic config option. The > exact same way we already do the compiler versions and check for > various availability of compiler flags at config time. That sounds even better, and will definitely allow for more testing. We just need to make sure that any kernel CI infrastructure tests that right away, then, so that failures don't get introduced by a patch from someone without a Rust toolchain and not noticed until someone with a Rust toolchain tests it. - Josh