Skip to content

Commit

Permalink
ci: add support for loongarch64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
heiher committed Nov 19, 2024
1 parent b74e3a7 commit d21c578
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
x86_64-unknown-linux-gnu,
i686-unknown-linux-gnu,
i586-unknown-linux-gnu,
loongarch64-unknown-linux-gnu,
armv7-unknown-linux-gnueabihf,
aarch64-unknown-linux-gnu,
thumbv6m-none-eabi,
Expand Down
3 changes: 3 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# FIXME: Drop this config when cross is updated to support loongarch64-linux-gnu
[target.loongarch64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/loongarch64-unknown-linux-gnu:edge"
2 changes: 1 addition & 1 deletion ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ case "${TARGET}" in
CROSS=0
NO_STD=0
;;
thumbv6m-none-eabi)
thumbv6m-none-eabi|loongarch64-unknown-linux-gnu)
CROSS=1
NO_STD=1
;;
Expand Down

0 comments on commit d21c578

Please sign in to comment.