如何安装rust src的旧版本?

如何安装rust src的旧版本?,rust,Rust,我的机器有rust nightly-2020-03-24,我想编译交叉编译板条箱核心。但是命令rustup component add rust srcinstall rust src的最新版本,rustc-2020-03-24无法构建该版本(由于新功能llvm asm)。如何安装rust src的旧版本?Rustop install stable如果您还没有安装,那么Rustop+stable component add rust src我每晚都在使用rustc,而不是stableIDK旧版本

我的机器有rust nightly-2020-03-24,我想编译交叉编译板条箱核心。但是命令
rustup component add rust src
install rust src的最新版本,rustc-2020-03-24无法构建该版本(由于新功能llvm asm)。如何安装rust src的旧版本?

Rustop install stable
如果您还没有安装,那么
Rustop+stable component add rust src
我每晚都在使用rustc,而不是stableIDK旧版本保存多长时间,但是
Rustop+nightly-2020-03-24 component add rust src
如果保存的话应该可以工作。如果不是,则每晚更新至最新版本或返回stableIt。cargo xbuild似乎试图从github中提取最新的rust src,无论安装了什么rust src。我将在他们的github页面中打开该问题。