Skip to content

Commit

Permalink
Try build-std
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Mar 19, 2024
1 parent 137ad22 commit 87d9b12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
- name: Install toolchain
run: |
rustup update
rustup target add ${{ matrix.target }}
rustup toolchain install nightly
rustup component add --toolchain nightly rust-src
rustup target add --toolchain nightly ${{ matrix.target }}
- name: Build
env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: "aarch64-linux-gnu-gcc"
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: "arm-linux-gnueabihf-gcc"
run: cargo build --verbose --release --target=${{ matrix.target }}
run: cargo +nightly build -Z build-std --verbose --release --target=${{ matrix.target }}
- uses: actions/upload-artifact@v4
with:
name: hath-rust-${{ matrix.target }}
Expand Down

0 comments on commit 87d9b12

Please sign in to comment.