Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3875881pxf; Mon, 22 Mar 2021 18:29:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywSo6JXxaZTDvwsbWJroHjXsXc73+xwJeIpe2J13b9EvHPt+sLLa5EVj4WYsJ4XC/oaJVX X-Received: by 2002:a17:906:3395:: with SMTP id v21mr2471628eja.322.1616462943127; Mon, 22 Mar 2021 18:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616462943; cv=none; d=google.com; s=arc-20160816; b=IYxoMeQC0jgV4jnRLyfy0Ah3Rc+U0n85QWz8PsAQYakP5CVS30qTfSr4KD/vxVsVQP RflXy/igW3uNfXOEBNKOn5a8qO1APSOMFDYmURc/PHWNBEfAoTc5fasSDbfbPgSu9HNq cRITJcxmX+5zUcLZXF763K6SpVjDC7uyB+P8Zvqf837I6eeb3Qg9PasLakXf0Qmf5x/h rd806w6qKs4eGwmDVjoYk0auwvqBoEqAHoSeZSd4n0+erdnN84X4JlXQmNJjHabYYuyC b4PQ58/40rc9vbAl6Gs2TbBNb9oVLol2hHlvsan7zieBbkIOKn/70RRvsvt1G02RwQEd NH/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=f8S/OZMy1ZuTFVTtPrzYCVy9HkceuxE1m3tw3XNzM7I=; b=WY32mpHINKWg25B1NSvwskCJ4J8c5/zonxoGEZLV1v1zU/gYb+Mvu2YkaZ9mZTqRD5 JgJMeyrb1DstWm+pNshLt43XFU5h2Qpgt0LzWrkPy2Y+BdjfOw67C9UyaWiUGCwvA6gv FWwEHNek9U19KkZJ3nMLHKkof7rbFngo4WQUGXGQ/bTwnaKA3d4NNfT5z5kSP0UDwhh5 28mMYgwDBREWAaeioEGOoZn8kYSaYpLraZjn4YLsJtEVww5dHLGL1mkHDXt5y1Pqwr/6 iinP30Muh+kSsdAmwIJA/ae1/+m4xB8g6qcYALaaonuSWsJZNmcB2OKR1Ww/11M4EYHC NIqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uqC/+8H5"; 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 yk13si11889178ejb.127.2021.03.22.18.28.41; Mon, 22 Mar 2021 18:29:03 -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="uqC/+8H5"; 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 S231468AbhCWBZ3 (ORCPT + 99 others); Mon, 22 Mar 2021 21:25:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbhCWBZE (ORCPT ); Mon, 22 Mar 2021 21:25:04 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 986C3C061574; Mon, 22 Mar 2021 18:25:03 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id o66so8632423ybg.10; Mon, 22 Mar 2021 18:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f8S/OZMy1ZuTFVTtPrzYCVy9HkceuxE1m3tw3XNzM7I=; b=uqC/+8H5yU86IXnUTpqQ2Ns41SxOwcIzfG1b+wDoZUekKFUf/Kmln1YzzfOi8I+9WM Dw0GfNWt5H2pDLdCw8CBBpUU1j1j4AawgIOxF6i+akb7bKkP2ZiD2GoDBDmsVoe+Ihc7 +hC8DYBmaLAZ9jXwbM+/E61OhTFKYXfHQHOoa72Rc5xQy6h52+h9e68SCUvcQNm5YvMC sAIwst985ndf/sW/zbaQCQm6FvD5LckF2iZCOLlA+WGODjcC8hU4P8AoRnslVU7gWTpo JQHHJQLf3H/NinOyfi5rXZNgzB1BDbNHkc49CRmp5hxm+mWlpMJS7NH7leptB98XMn/a 8Lww== 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=f8S/OZMy1ZuTFVTtPrzYCVy9HkceuxE1m3tw3XNzM7I=; b=RdEUwau+hTWYSEXWGTscWiaLXEzUP2nPmMumYT/XlLms2Y/qzNBc1bRepEemAp1Dc+ d14yqXXs0+pe0zRRkxrVJtikr6pfai0vtVAUzkPV69xFr6hSSGxRWrsYeOWWT7jvzYUY aKgLT22R283jGFucusxz7O+L9c+FqS0NQ647TU1bMXWrF7fWO1pN5xSVy02AGFGBc9qb eSh76gry8HUEKXp+13VMinF74lHM4o4/C3mW0mvGr1A8VwVpocFXNmnCcp5+H+p+S4GB 7AHiHA/ck71KntCmXCQc1pJKBP8XbDvgPj0bbLMg+gR3lpCYRURYssAx1mIyTD+UWZg1 knSg== X-Gm-Message-State: AOAM532TLqHMMJ6E+lfBAUTPXth7aUq0cGGHh4ddkwsscW02FAS0T8Ks k7MGqaLWeDmaW3xpp0VGqqripXblvcB1J05ZW7k= X-Received: by 2002:a25:3b55:: with SMTP id i82mr2077985yba.422.1616462702937; Mon, 22 Mar 2021 18:25:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Miguel Ojeda Date: Tue, 23 Mar 2021 02:24:52 +0100 Message-ID: Subject: Re: drivers/char/rust_example fails to load To: Joshua Abraham Cc: Miguel Ojeda , Alex Gaynor , rust-for-linux@vger.kernel.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 22, 2021 at 1:20 PM Miguel Ojeda wrote: > > I'll take a look at fixing those soon. For those that may read this or run into the same issue: this started with the LLVM 12 upgrade in rustc nightlies. Therefore, please avoid the very latest nightlies (>= nightly-2021-03-05) until [1] is resolved. To automatically setup a known-to-work nightly for Rust for Linux (the one we use the most in the CI), run: rustup default nightly-2021-02-20 [1] https://github.com/Rust-for-Linux/linux/issues/135 Cheers, Miguel