Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1301970pxy; Thu, 29 Apr 2021 04:16:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzStMXpmjoFIGK39cdyMfwfx4bAZrTXEAD0fjcf7l/Hn6yXhOH4jzdf+8Betj/ONVZo9KpG X-Received: by 2002:a17:906:2510:: with SMTP id i16mr2693583ejb.488.1619694980628; Thu, 29 Apr 2021 04:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619694980; cv=none; d=google.com; s=arc-20160816; b=oi1s6DWe5KigpLG74lZBwjncSublIWKpEkZPqwfkkQCYLvpdD7wqIuofY3UCx+ntzh iWBn5N9ZbkBut6Bjso/dFLm0K0WdOsCddCYxGkySF16Gkf3PhKQX0A99YVdFx2fpXqET +5wQYNxTnNupVh827VR2KJ8JRbX9vomtHj9l2BaEYvp1w4EnUpc9Kjt/6XCti6UsTTvD TcyI9yrSZARGoLjLjegVLMUMZDpkPiwGGhZUuigZFxhTBBhCGvKWBHzEkOEzhDHMnmSN AdbHqJXduRjkFTEYGXZwdAVl9js+2Fk9m2U5iarcDcuYVQLEC2+xwtP+E7ugRR+1JFC8 Oegw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:date:message-id:in-reply-to:subject :cc:to:from:user-agent:references:dkim-signature; bh=5/8VNkQOcNtPRtDrHmo/JB8UiRS4tDp43Rh0Drba7XA=; b=BRXFIjFwzrpA+AFHi+N0bGv+W/owDkme6xFl3p9TdySCG2+WwCP0+RrAd0g14iydqE PB/4EuaGsU/R45oO8HBzCMYBsb3350tn3/AV+qqqyaBYEdG4V4RM+hgP6gKsgBZO/UU1 Er1lY8S7LF7spDuFQcRvsCcFhS2wFAcPSfOIZdHY17TfjMR1h/3F+HjEbHv6kUHi1biV sj/HXCzjFN28mDDDt7wa4aOKAo9ooUBgq+BKQXvcy+4Xx8c0T1mNlYzXTE/pi1KfjOdc DY2VhXwLcvdF4Keqriq4AYpSHAddtsUQVepbb0MdwvorAYWRM3zjAmuyJHKO9Sk9vo4+ OgAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="hKLM/5Sh"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si2946206eja.638.2021.04.29.04.15.56; Thu, 29 Apr 2021 04:16:20 -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=@gmail.com header.s=20161025 header.b="hKLM/5Sh"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231904AbhD2LP3 (ORCPT + 99 others); Thu, 29 Apr 2021 07:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229792AbhD2LP0 (ORCPT ); Thu, 29 Apr 2021 07:15:26 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D1CCC06138B; Thu, 29 Apr 2021 04:14:40 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id e5so37830969wrg.7; Thu, 29 Apr 2021 04:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:message-id :date:mime-version; bh=5/8VNkQOcNtPRtDrHmo/JB8UiRS4tDp43Rh0Drba7XA=; b=hKLM/5ShBvsG3gq3hjRH3gdwJMGrGMg3rv0LenlO0dHqNMXypdek0/BvF6QkqucTWp Gnv4NduO2YYNpTsFCfoy8r5NxddLs46wPPqZDnagTb2u0/7EwGzcP6pnntqmPtCNqs3o ZSF+i4y0yoEbzs4ejoCnKuYzcpU4UMmdIRxg7YwrM1fVpwsJTQ/eO1P/F5E8COUk2QZF w1Y5L851T+E+0DCZfMSLCPzGjN8EF5/VvxRo13IUQx4s51wBg9HOpgofk2p6URwRxgzY mNTswhKpHPT8mVorr3toSe7D8oolb0/yLALucqnitwOjcfPQOYorsRois6qusXDoV6Hy 7UeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:message-id:date:mime-version; bh=5/8VNkQOcNtPRtDrHmo/JB8UiRS4tDp43Rh0Drba7XA=; b=NlupXyBnuC/TpCLu2ZZjJesF+hsuryczpUEIJkgmx74VryOlFipRk+Vx0pA5UQvzxV 5OmWE4pcqlZZ9sJTQIllSHgb87Srj67DsUHAkLcoIFbJ9oozkjX0UG9vXrOvKvsVC+j+ cibeP98jFHGQm280bwbHzdo+PwmwF4NOcYFspTwWhWjtvCYYRv2XKRzcUqHi7et8tOuY x2e2487pX2hMjiTvpgFY/eo5pHHB9AAQTd27cNlSedEZ4FSt7ZQ6A36Ew6dcryNaWuBg CgW6AmWsmbPN29g6NXVLD6UqBZEcrMsWZjpvVExe5nMF7afBRN0TQtKSW4pr42x0g8Bw 5N7w== X-Gm-Message-State: AOAM533Lkw9THqvEjB0t36Md9jBbXQQoUSjHrQRebJ+J3No/EtKyt2da HqPRafYzhobQ1R2Vbbcogv2iSjZFdR0= X-Received: by 2002:adf:e2cc:: with SMTP id d12mr42542589wrj.90.1619694878793; Thu, 29 Apr 2021 04:14:38 -0700 (PDT) Received: from EDI-InfinityBook ([2a01:4b00:ea36:6c00:56e9:4ef3:28ef:7ef6]) by smtp.gmail.com with ESMTPSA id p10sm4240810wrr.58.2021.04.29.04.14.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 04:14:38 -0700 (PDT) References: <20210414184604.23473-1-ojeda@kernel.org> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Kajetan Puchalski To: David Laight Cc: "'mceier+kernel@gmail.com'" , "ojeda@kernel.org" , Linus Torvalds , Greg Kroah-Hartman , "rust-for-linux@vger.kernel.org" , "linux-kbuild@vger.kernel.org" , "linux-doc@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH 00/13] [RFC] Rust support In-reply-to: Message-ID: <87czude41d.fsf@gmail.com> Date: Thu, 29 Apr 2021 12:14:22 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Laight writes: > From: Mariusz Ceier >> Sent: 28 April 2021 19:34 > .... >> >> I suggest to wait until featureful GPL implementation of rust >> language >> is made (assuming GNU Rust is on the way) before merging any >> rust code >> in the kernel and when that implementation is done make a >> requirement >> that all rust code must be buildable by at least GPL >> implementation. >> >> Maybe it would also be worthwhile to make the requirement that >> the >> kernel must be buildable with free software (not just open >> source >> software) explicit ? > > Or put the version of the compiler that works in the source tree > with the kernel and then build it as part of the full build. Building compilers takes several hours, I'm pretty sure usually much more than the kernel itself. Building the compiler as part of the full build would be a gigantic pain for everyone involved. Rustc is even worse than most compilers on that front due to the complexity of its runtime checks. -- Kind regards, Kajetan