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 e3cd5ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .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 component add rust-src
rustup target add ${{ matrix.target }}
- name: Build
env:
__CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS: "nightly"
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 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 e3cd5ac

Please sign in to comment.