Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1548434ybt; Sat, 11 Jul 2020 14:04:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUDpuKBB9h3QoHDbPna2kpJAbTVPAR3tWD7T1AETX2gu2mV5ag62HxjhwxGILISO38g+Nl X-Received: by 2002:a50:e689:: with SMTP id z9mr36556719edm.131.1594501490814; Sat, 11 Jul 2020 14:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594501490; cv=none; d=google.com; s=arc-20160816; b=qNIl6ULFuj0/Ywy9xN6/0OUIhPGIKg0yxDdnkeYRZ4MonKqohXwvOEEKCEtGLqYh8U 06Kdw0lx/5Kcn8kZ1CxQrIoPpwNdUfvQrOnsn/o0SnWfQ2i5z3d0dlYOmzkRpD3f2HJN eIEmKtsbyjPji1x+06Ei55O83qpr8nSiti701g7xKee8SBGSsSQmoxVJQL3+XoUFSn6f WW/tzO0vpu4hr3PP/XgaZLEZPRfyNhs6UQoLp6udLrNzR4Jp2tbWFgUh1tcG+5e4zm9Z WyJQa+r1UlxO57cYEGIlVCaF/C+l7smLbS52lgU27/8mqLPDK59zYgVS4bhOMZcxmotF WaNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=bN3GQaTqb/bO/dlvgE1xGAMKj52Y4+wosIIoRHaB25M=; b=Rdh1LRlZDRqvbiC4PltXBwpFwhLSOFzqjDrSW6w2/i+DZOjVocHWq94dvw8a/XMRY7 cnl1fdaYb0qBSzta2kuCuip8RmfJcyktqv4Nh1DGjISzJCsf4kIiuBBS57b33AKsb8pq 6t30cDt75FLRhZa+TljQTylEKG22dvjfxt8ycl9uq41ph+PswT4pDp4bqxrDZaKXwnhc P8yGWWSxi/TzTmoQ81vsJEVmnMEVeo3BpvPFybt65At6lw+Q9HSvQHhUJvCiPRNYv3g2 UOnv0JLxKpnp2YHzJS1I3/OkfdEOabNrAyOpo30XZLhvYQNEnWsX1Q1VT0vuAoVfdfU6 DfoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z19si6344736edx.83.2020.07.11.14.04.28; Sat, 11 Jul 2020 14:04:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727942AbgGKVD1 (ORCPT + 99 others); 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