Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3247060pxf; Mon, 22 Mar 2021 01:24:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCo4cHXLftQL4M/lwsTOIUpkVd7W61M8gUrSgJjcFMiU6IYnXZ+37VxCFW9T6dltslUCWh X-Received: by 2002:a05:6402:27d4:: with SMTP id c20mr24528541ede.271.1616401485520; Mon, 22 Mar 2021 01:24:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616401485; cv=none; d=google.com; s=arc-20160816; b=R7sXxt3KcrNs4u84DmAtyNY6B3N+EA/LSzTT8sGJeHOMM+PZr4r52T9371kJ2xak7D ow/AiqQjmv12b4g1ejS1B2297uzdt5xKjaNi2WlJSU4bPsXtQ5REqHk/SX8KTN665P6T XX/IW6ydgK+nhbhtXYnAbPfqxqXs9XKU4Tx9H6/cdl5MLSPCdB5eHFfvd4FWCVejCR5V mRLGWgyefg+etjLEymwdfDhJN/HLMkAhuDRPVk8zen0HH7uoNxPWb6Tro/QL9JAUMKY6 Yu4K6Q0Ci1gk0mCRVeMpc6RvimynVYlG4ZIINz6ZgSAvPbYOtUB3j/1t0haSV4oRtWCP 8auQ== 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=BrxVdUfvSN1VoDe8lzYvoiY9t5xWvXAzEC58gOaoxBQ=; b=jGmreDUP75EFGZd+8TLRRk3zsrS1bTuJMPiOu1Ymg74RdNGy3kmCBg0iA05i9wFg0w d6Wlv7fUP6565x+arzbT2CVZLGFNhityEDt6vA7Qcm46fCJayZyY6De9DerZRBJU6RMj zx1xDrM9jL9ECrXdY7bv5RDt6yrLSqgtpwesJ0KJGIDhpfOcY1P08BWw95Z2cdKJXGpg RctLRpI5felIEt60coaQVsGw3B8W+TavXBURkWA4izZ4C2ydQCpixAYzKyUaK7WUUZRV 7P4cZIq37AptPE8qvB94D68lLTVT9GcfRbu2fLtBCSEWNsF4lNVGMNK8Mf0FGN48gDS5 trxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="hktJKPn/"; 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 co21si10809726edb.513.2021.03.22.01.24.23; Mon, 22 Mar 2021 01:24:45 -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="hktJKPn/"; 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 S229746AbhCVIXS (ORCPT + 99 others); Mon, 22 Mar 2021 04:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbhCVIWw (ORCPT ); Mon, 22 Mar 2021 04:22:52 -0400 Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9046EC061574; Mon, 22 Mar 2021 01:22:52 -0700 (PDT) Received: by mail-vs1-xe2d.google.com with SMTP id e13so6992404vsl.5; Mon, 22 Mar 2021 01:22:52 -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=BrxVdUfvSN1VoDe8lzYvoiY9t5xWvXAzEC58gOaoxBQ=; b=hktJKPn/Czs4IK+PSk7VQhBPLkF/qqjhCN1WGUk95qdp7jndFFprSx6/qPPK04mikX O+jsk48GvkMGskN1wme7UXApSuQ/bx8s3QpfcVjC6tBZqb3sf7UpAo2elxw2eprgrrxu 8Dza8hTvu9K/s0JUTQ6zL/I7v07zJQO1gR7xCwXMFHGn3NBEKxAr7xilGHWTjc5qsWm0 ZX00cRgEPwnbkmL6jtPg3Gbh5E+M21jk18X/wPnfrxtaHgJziPinbgcid1+UpfKxGl0N IKwee1Ay5+2yNuSL/GfGl0ZnX6ECS1T6FRJ6XnDaew/KpcEoZSfKILC8ma/H1I8ZV47h AzFw== 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=BrxVdUfvSN1VoDe8lzYvoiY9t5xWvXAzEC58gOaoxBQ=; b=bOmkH2tK5QtjcLISxyC/bKQbuGu4ZCswWWxvZxA4QaWJFuZckX9swQHwYIFiRSHBPL V9fu7B1T3+bXDOkm49RwYij8jJ9HMPfwUXFR1Cnk6F+sF0ykLKGJ2dOeWo7t7g1AHL1h /oKUjIzImgEx6CR9WuT8Ku7aOHfxWFwZStsYbaijRkpEtz1fu1ucxcW/INiMnq9o7FHq /zKIkV/fLAumcgZNR3Q3gXyoSCpeYr5h9YI78wWkoeDcGGA53wqiK57RQxJfG7oWEXMF te1gJUICpZm/y4HDrX2PFvSeIZ7odShFtbljQkkfzO45KGvq/FKB8SFtdTyRKzriqeFO LX+Q== X-Gm-Message-State: AOAM530Jd0Ux2DVuKFAt5lcH6jsQM3ToAVYtz66Mv+k7NWU6LL4tkGW0 /0WwCx60I4ChMwWhWKr0wHjdUmiEpTAWjC4vYo0= X-Received: by 2002:a67:6506:: with SMTP id z6mr7889261vsb.27.1616401371850; Mon, 22 Mar 2021 01:22:51 -0700 (PDT) MIME-Version: 1.0 References: <20210322065300.dgory3vfe5jjfvak@gpm.stappers.nl> In-Reply-To: <20210322065300.dgory3vfe5jjfvak@gpm.stappers.nl> From: Adam Bratschi-Kaye Date: Mon, 22 Mar 2021 09:22:41 +0100 Message-ID: Subject: Re: drivers/char/rust_example fails to load 2021-03-20 builds To: Geert Stappers Cc: Joshua Abraham , Miguel Ojeda , 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 > 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 ;-) Using `rust-toolchain.toml` should work. Another option would be to override the default version for the given directory with `rustup override set nightly-2021-02-20`. You could also set the global default `rustc` to a specific nightly release: `rustup default nightly-2021-02-20`. More info here: https://rust-lang.github.io/rustup/overrides.html