Skip to content

Commit dbb72de

Browse files
committed
test: update rust to 1.81.0 for loongarch64 support
Signed-off-by: CrazyMax <[email protected]>
1 parent 2fc8560 commit dbb72de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/test-cargo.bats

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ testHelloCargoRustup() {
4747
@test "install-rustup" {
4848
add clang lld curl ca-certificates
4949
assert_success
50-
run sh -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.69.0 --no-modify-path --profile=minimal"
50+
# https://releases.rs/docs/1.81.0/ adds support for loongarch64 on musl: https://doc.rust-lang.org/rustc/platform-support/loongarch-linux.html#building-rust-programs
51+
run sh -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.81.0 --no-modify-path --profile=minimal"
5152
assert_success
5253
export "PATH=/root/.cargo/bin:$PATH"
5354
run rustup --version 2>/dev/null

0 commit comments

Comments
 (0)