File tree Expand file tree Collapse file tree 7 files changed +871
-5
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 7 files changed +871
-5
lines changed Original file line number Diff line number Diff line change 88 if command -v rustup; then
99 # Uncomment when rustup on Azure is updated
1010 #rustup set profile minimal
11- rustup update $toolchain
11+ rustup update --force $toolchain
1212 rustup default $toolchain
1313 else
1414 curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain --profile=minimal
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RUST=${TOOLCHAIN}
1515echo " Testing Rust ${RUST} on ${OS} "
1616
1717if [ " ${TOOLCHAIN} " = " nightly" ] ; then
18- cargo +nightly install cargo-xbuild -Z install-upgrade
18+ cargo +nightly install cargo-xbuild
1919 rustup component add rust-src
2020fi
2121
@@ -220,6 +220,7 @@ nvptx64-nvidia-cuda \
220220powerpc-unknown-linux-gnuspe \
221221powerpc-unknown-netbsd \
222222powerpc64-unknown-freebsd \
223+ riscv64gc-unknown-linux-gnu \
223224riscv32imac-unknown-none-elf \
224225riscv32imc-unknown-none-elf \
225226sparc64-unknown-netbsd \
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if ! rustc --version | grep -E "nightly" ; then
1919fi
2020
2121rustup component add rust-src
22- cargo +nightly install cargo-xbuild -Z install-upgrade
22+ cargo +nightly install cargo-xbuild
2323
2424# List all targets that do currently build successfully:
2525# shellcheck disable=SC1003
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if ! rustc --version | grep -E "nightly" ; then
1313 exit 1
1414fi
1515
16- cargo +nightly install semverver -Z install-upgrade
16+ cargo +nightly install semverver
1717
1818TARGETS=
1919case " ${OS} " in
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ cfg_if! {
7878 } else if #[ cfg( any( target_arch = "x86_64" ) ) ] {
7979 mod x86_64;
8080 pub use self :: x86_64:: * ;
81+ } else if #[ cfg( any( target_arch = "riscv64" ) ) ] {
82+ mod riscv64;
83+ pub use self :: riscv64:: * ;
8184 } else {
8285 // Unknown target_arch
8386 }
You can’t perform that action at this time.
0 commit comments