Skip to content

Commit a713f14

Browse files
committed
add riscv64 release target
1 parent 2c130ba commit a713f14

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nightly.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
NAME: aarch64-linux,
3737
TARGET: aarch64-unknown-linux-musl,
3838
}
39+
- {
40+
NAME: riscv64-linux,
41+
TARGET: riscv64gc-unknown-linux-musl
42+
}
3943
steps:
4044
- name: Checkout
4145
uses: actions/checkout@v4
@@ -64,7 +68,7 @@ jobs:
6468
target: ${{ matrix.build.TARGET }}
6569

6670
- name: Build
67-
run: cargo build --release --locked --target ${{ matrix.build.TARGET }}
71+
run: RUSTFLAGS="-C target-feature=+crt-static" cargo build --release --locked --target ${{ matrix.build.TARGET }}
6872

6973
- name: Prepare nightly binary
7074
shell: bash

0 commit comments

Comments
 (0)