File tree 7 files changed +871
-5
lines changed
src/unix/linux_like/linux/gnu
7 files changed +871
-5
lines changed Original file line number Diff line number Diff line change 8
8
if command -v rustup; then
9
9
# Uncomment when rustup on Azure is updated
10
10
#rustup set profile minimal
11
- rustup update $toolchain
11
+ rustup update --force $toolchain
12
12
rustup default $toolchain
13
13
else
14
14
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}
15
15
echo " Testing Rust ${RUST} on ${OS} "
16
16
17
17
if [ " ${TOOLCHAIN} " = " nightly" ] ; then
18
- cargo +nightly install cargo-xbuild -Z install-upgrade
18
+ cargo +nightly install cargo-xbuild
19
19
rustup component add rust-src
20
20
fi
21
21
@@ -220,6 +220,7 @@ nvptx64-nvidia-cuda \
220
220
powerpc-unknown-linux-gnuspe \
221
221
powerpc-unknown-netbsd \
222
222
powerpc64-unknown-freebsd \
223
+ riscv64gc-unknown-linux-gnu \
223
224
riscv32imac-unknown-none-elf \
224
225
riscv32imc-unknown-none-elf \
225
226
sparc64-unknown-netbsd \
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ if ! rustc --version | grep -E "nightly" ; then
19
19
fi
20
20
21
21
rustup component add rust-src
22
- cargo +nightly install cargo-xbuild -Z install-upgrade
22
+ cargo +nightly install cargo-xbuild
23
23
24
24
# List all targets that do currently build successfully:
25
25
# shellcheck disable=SC1003
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if ! rustc --version | grep -E "nightly" ; then
13
13
exit 1
14
14
fi
15
15
16
- cargo +nightly install semverver -Z install-upgrade
16
+ cargo +nightly install semverver
17
17
18
18
TARGETS=
19
19
case " ${OS} " in
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ cfg_if! {
78
78
} else if #[ cfg( any( target_arch = "x86_64" ) ) ] {
79
79
mod x86_64;
80
80
pub use self :: x86_64:: * ;
81
+ } else if #[ cfg( any( target_arch = "riscv64" ) ) ] {
82
+ mod riscv64;
83
+ pub use self :: riscv64:: * ;
81
84
} else {
82
85
// Unknown target_arch
83
86
}
You can’t perform that action at this time.
0 commit comments