Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp506160ybh; Sun, 12 Jul 2020 13:35:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlH3sTzm73T8WHUGN/wsU3Ttu/MPolOne8UyMEbcWOWeIgMtFDDk53WDF3nfEZqVwJYxQF X-Received: by 2002:aa7:ccd5:: with SMTP id y21mr85702314edt.91.1594586107978; Sun, 12 Jul 2020 13:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594586107; cv=none; d=google.com; s=arc-20160816; b=Mhc6gt2GAcyLIYWHekRBf7V6NYFHE7MUJ+PGtNIYzWfjFn7C7E3u4pdjR0kInEzu0C gSTIRRw0AGMMScF9UxST1ggOMm2l3D2mQF6dSZDCIJm10RtsavudbVQP/iw7UzDCrSnW /lsses0of7ZeQQqaGpyxQ3iglg+joh6krYZqRqlNgRpArdXICWeyMacX8Dh66DQWD6k2 uUXMrYzjT15BqaKVlbzcbrx3HEXe/9P1+1OLP2VYzU14noFTOdbSqaDTEfAfN1z+YexG Bm3VQrLyIyA5iVdl6E4tBgU+AOrx+WGE3vpY9zqz5CmFN2WXVCNphb0yrDez/74TeuPG 3wSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=M5WjRrnyhLOSbHqzwifF7Te2n7vimCY08qC27XUzpXI=; b=o3Mn0RSWUBvwcqh4WyJaYZ/8gQ6eHI3p1Lzxq2Yt5z4XQ6skPoWrlarSUz0X6HuaI9 W7XLL6O6gO7z85hQG/bQYz+nwQvF9prApFzTTAZJwcmHBjH2WB9U1NDuFKAXIJ7GmSNI V40+tVBQE8uOt3eHB31v1+Cfxi88lbQR1LJiKxR31fFiAXBbzRjcoFw3jzBcj4jI1As9 ojky/0GQ8bfpiPtP9lxh38Vqv4AJcqCO77hjxiHa8joaZqn3DFff2P7osZo6rqCVtZC2 unK9dbNjlnIJXjCUiL+vHpPh0EnDwcyGNnDYqWFwEr3oM0B/kEWAvBS2vls+riUQjtw7 7upg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=YMyGELxA; 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 ce19si8591747ejc.304.2020.07.12.13.34.31; Sun, 12 Jul 2020 13:35:07 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=YMyGELxA; 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 S1729415AbgGLUeS (ORCPT + 99 others); Sun, 12 Jul 2020 16:34:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729050AbgGLUeR (ORCPT ); Sun, 12 Jul 2020 16:34:17 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27689C061794 for ; Sun, 12 Jul 2020 13:34:17 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id s9so13144480ljm.11 for ; Sun, 12 Jul 2020 13:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M5WjRrnyhLOSbHqzwifF7Te2n7vimCY08qC27XUzpXI=; b=YMyGELxAtRmy9FjeeEk7uVwcYjYoq2mBvgisQy8JZOxvY4g3Bz0EEBukkIZB9h2WDt o5f4gSFHlse0x52UYJ8dJF9LafvSlVPybKv1y9cmVH8Fejf1LwYD3ntamxSNJxh16R/b +YwTWpc1gg7WyUVJiEH6tMOkH+xXjyU4nCVtg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M5WjRrnyhLOSbHqzwifF7Te2n7vimCY08qC27XUzpXI=; b=Bh64yNP15qtcTtph0ASi73UN2wCZNEFrOmZhZ7bhcXpxjQmD+qLJnzq8+4tQKVmMXk 8kQu3v84YcnqUT5WGd4TXsAOtqeTsp4f7RbQcWKmd9/bOZMtxSd/QvjqacK3y3/BfIQ7 K5nZBJYnYyD//hXLPqKmCO2UOXJeBHXeFzJEeAapx9LKhONTHh7/38ZoIx+3UKZDfjap r+LaSA4Hk+OnL0y6kXtmKbYcG/KBLgJL5KuZSL6+kGjQZ9tKw5F+W3BjDz38rfp1dFec tygBsOcYlcCYSvTbBoFQYmxa7DuVTwD+FZcFRtxsslR9rFCB0u148ZmOpKlvVBF8ElMl SMUw== X-Gm-Message-State: AOAM530kCabDiVUyNx+VwyGXScmoZQf9nnvpHN/HtG3r6ZSwoVyAATK0 Ml7DaJZ4qZ2FFDcsN0t2p/sIHxnQues= X-Received: by 2002:a2e:8145:: with SMTP id t5mr43238190ljg.201.1594586055245; Sun, 12 Jul 2020 13:34:15 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id u26sm5865143lfq.72.2020.07.12.13.34.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jul 2020 13:34:13 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id h22so13157237lji.9 for ; Sun, 12 Jul 2020 13:34:13 -0700 (PDT) X-Received: by 2002:a2e:9c92:: with SMTP id x18mr40262320lji.70.1594586052886; Sun, 12 Jul 2020 13:34:12 -0700 (PDT) MIME-Version: 1.0 References: <20200712123151.GB25970@localhost> <20200712193944.GA81641@localhost> In-Reply-To: <20200712193944.GA81641@localhost> From: Linus Torvalds Date: Sun, 12 Jul 2020 13:33:57 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux kernel in-tree Rust support To: Josh Triplett Cc: Adrian Bunk , Nick Desaulniers , alex.gaynor@gmail.com, geofft@ldpreload.com, jbaublitz@redhat.com, Masahiro Yamada , Greg KH , Miguel Ojeda , Steven Rostedt , LKML , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 12, 2020 at 12:39 PM Josh Triplett wrote: > > Rust has hard stability guarantees when upgrading from one stable > version to the next. I think the worry is more about actual compiler bugs, not the set of exposed features. That's always been the biggest pain point. Compiler bugs are very rare, but they are so incredibly hard to debug when they happen that they end up being extra special. Random "we need this compiler for this feature" is actually fairly rare. Yes, the most recent case of me just saying "let's use 4.9 rather than 4.8" was due to that, but honestly, that's the exception rather than the rule, and is to occasionally simplify the code (and the test coverage). The most common case of compiler version checks are due to "compiler XYZ is known to mis-compile ABC on target IDK". Linus