Skip to content

Commit

Permalink
test: update rust to 1.81.0 for loongarch64 support
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Dec 10, 2024
1 parent 9efbca0 commit d9839d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test-cargo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ testHelloCargoRustup() {
@test "install-rustup" {
add clang lld curl ca-certificates
assert_success
run sh -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.69.0 --no-modify-path --profile=minimal"
# 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
run sh -c "curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain=1.81.0 --no-modify-path --profile=minimal"
assert_success
export "PATH=/root/.cargo/bin:$PATH"
run rustup --version 2>/dev/null
Expand Down

0 comments on commit d9839d8

Please sign in to comment.