diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 82196d7d7..0d52bec22 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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, diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 000000000..de6357032 --- /dev/null +++ b/Cross.toml @@ -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" diff --git a/ci/run.sh b/ci/run.sh index 39cf49c42..26899272e 100644 --- a/ci/run.sh +++ b/ci/run.sh @@ -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 ;;