Skip to content

Commit

Permalink
disable no-panic check
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Oct 16, 2024
1 parent 3685d34 commit 3755642
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nopanic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ jobs:
- name: Check (linux_android.rs)
run: ret=$(grep panic target/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ]

- name: Build (linux_rustix.rs)
env:
RUSTFLAGS: -Dwarnings --cfg getrandom_backend="linux_rustix"
run: cargo build --release
- name: Check (linux_rustix.rs)
run: ret=$(grep panic target/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ]
# TODO: re-enable after https://github.com/bytecodealliance/rustix/pull/1184 is released
# - name: Build (linux_rustix.rs)
# env:
# RUSTFLAGS: -Dwarnings --cfg getrandom_backend="linux_rustix"
# run: cargo build --release
# - name: Check (linux_rustix.rs)
# run: ret=$(grep panic target/release/libgetrandom_wrapper.so; echo $?); [ $ret -eq 1 ]

- name: Build (rdrand.rs)
env:
Expand Down

0 comments on commit 3755642

Please sign in to comment.