Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3207854pxf; Mon, 22 Mar 2021 00:01:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8YdtB4RI0vLsXKaePBBaSpCn8tsJg6C5M9UzSfUEhY2qpQwUj/ctRf8QKKna4t1/bjQRT X-Received: by 2002:a17:906:7c44:: with SMTP id g4mr17513396ejp.269.1616396509104; Mon, 22 Mar 2021 00:01:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616396509; cv=none; d=google.com; s=arc-20160816; b=YTtGCZeBjJotW2y8ArOYFNK9D8f1jH/isLY69dmVESu/n+ZIiyELzJ4r0jLg9PJ1S6 nyFH4ex6Gofhpssc4UDPmVukreixn3oBENIeMrmkUI3Qu6/IVES3HqN1PNcoa56Mh4IL D00PbQnrec23jOZhGpKrBqk6vpZG7Yy8Vqle5/cYZHKhyu667vBMjg97/M5Tp8Ex07Mg MitLGDJvO1LNjZYn0+JR1GU7ElQV7cAfRJp9zDviZhy1e1HBp7jCSmQBe7hLzy4hJA9N Wm7p80IvcKJes0l45Ucxfk6IU63g6Ga7wcLJiUS+j+4phYduxST29C25iczHh6fGf1zS TnVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:to:from:date; bh=gVmIXoybfRtCqlhGk4TsM6fYF6UBlc10onDGZww5+T0=; b=iNoEvNGHimCN02AYXC822i5D+3gEKxlu9sGdOGCXBIbmIVNwWr74kaaaQSxQwHxhsi SdsV1OXMHVKurGenRgAIoHRPfhppqIQYX+qNVM2z0qYHEQ2z2rwNvXqJrLfLJZokxkVD ShZUNhjpWw/TBbLwvhkVhbTvxGS0G5cWME46ly0h/ObSrhpVh0GVmc6QXNkSwH885bkf 7G5vgHA8Akj3Sgwb67aWp9/clZ73yGm5sHHoqxSRx0IFiV7PlxsGpvPZPc6Z6m4C0iCb Cv3ReDK94mjoTc+tIGY7oXK7+frTPcItuX9Sv+ldxu76ivVVHisykZe472UFauoYHP0T 8YVg== 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 z19si12448476ejl.54.2021.03.22.00.01.26; Mon, 22 Mar 2021 00:01:49 -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 S229692AbhCVHAY (ORCPT + 99 others); Mon, 22 Mar 2021 03:00:24 -0400 Received: from gpm.stappers.nl ([82.161.218.215]:52463 "EHLO gpm.stappers.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbhCVHAG (ORCPT ); Mon, 22 Mar 2021 03:00:06 -0400 X-Greylist: delayed 424 seconds by postgrey-1.27 at vger.kernel.org; Mon, 22 Mar 2021 03:00:06 EDT Received: by gpm.stappers.nl (Postfix, from userid 1000) id 06C7D304176; Mon, 22 Mar 2021 07:53:00 +0100 (CET) Date: Mon, 22 Mar 2021 07:53:00 +0100 From: Geert Stappers To: Joshua Abraham , Miguel Ojeda , Miguel Ojeda , Alex Gaynor , rust-for-linux@vger.kernel.org, linux-kernel Subject: Re: drivers/char/rust_example fails to load 2021-03-20 builds Message-ID: <20210322065300.dgory3vfe5jjfvak@gpm.stappers.nl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 21, 2021 at 09:53:27PM -0500, Joshua Abraham wrote: > Hey Miguel, > > > Please give a go to the nightly from a month ago, i.e. 2021-02-20. > > Cheers, using rustc 1.52.0-nightly (9b471a3f5 2021-02-19) fixed the issue. How to tell "use older parts in toolchain"? Yeah, probably a Rust newbie question, still a sincere question. Was a older version installed? How to tell `rustup` to keep old versions? Was done with a cargo.toml entry? Or with file `rust-toolchain`? Please tell (Please spoon feed me ;-) > Interesting that the newer nightly compiler creates these new > relocations for the code! Not each change is an improvement. Hopefully came the change with a flag to modify the new default behaviour. Groeten Geert Stappers -- Silence is hard to parse