Skip to content
Closed
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
contents: read

env:
MSRV: 1.69.0
MSRV: 1.71.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not change the MSRV for an architecture, I think we should add a step that will overwrite the MSRV environment variable to 1.71.0 when ${{ matrix.target }} is loongarch64-unknown-linux-gnu, something like:

- name: change Rust toolchain version for Loongarch
  run: echo "MSRV=$(if [ '${{ matrix.target }}' = 'loongarch64-unknown-linux-gnu' ]; then echo '1.71.0'; else echo '${{ env.MSRV }}'; fi)" >> $GITHUB_ENV

RUSTFLAGS: -Dwarnings

jobs:
Expand Down Expand Up @@ -92,6 +92,7 @@ jobs:
mips64el-unknown-linux-gnuabi64,
mipsel-unknown-linux-gnu,
powerpc64le-unknown-linux-gnu,
loongarch64-unknown-linux-gnu,
]

steps:
Expand Down
2 changes: 2 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ passthrough = [
"RUSTFLAGS",
"RUST_TEST_THREADS"
]
[target.loongarch64-unknown-linux-gnu]
image = "ghcr.io/loongarchlinux/archlinux:latest"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ The following targets are supported by `nix`:
<li>x86_64-linux-android</li>
<li>x86_64-unknown-illumos</li>
<li>x86_64-unknown-netbsd</li>
<li>loongarch64-unknown-linux-gnu</li>
</td>
<td>
<li>armv7-unknown-linux-uclibceabihf</li>
Expand Down