diff --git a/.github/workflows/nopanic.yaml b/.github/workflows/nopanic.yaml index 6182416e..54973d9b 100644 --- a/.github/workflows/nopanic.yaml +++ b/.github/workflows/nopanic.yaml @@ -72,14 +72,14 @@ jobs: - name: Check (getentropy.rs) run: ret=$(grep panic target/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ] - - name: Build (rndr.rs) - env: - RUSTFLAGS: -Dwarnings --cfg getrandom_backend="rndr" - run: cargo build --release - - name: Check (rndr.rs) - run: ret=$(grep panic target/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ] - - name: Build (apple-other.rs) run: cargo build --release --target=aarch64-apple-ios - name: Check (apple-other.rs) run: ret=$(grep panic target/aarch64-apple-ios/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ] + + - name: Build (rndr.rs) + env: + RUSTFLAGS: -Dwarnings --cfg getrandom_backend="rndr" -C target-feature=+rand + run: cargo build --release --target=aarch64-apple-ios + - name: Check (rndr.rs) + run: ret=$(grep panic target/aarch64-apple-ios/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ]