Use toolchain: nightly for coverage
@@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
env:
CARGO_INCREMENTAL: '0'
- RUSTFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
- RUSTDOCFLAGS: '-Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off'
+ RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
+ RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
steps:
- uses: actions/checkout@v2
@@ -19,7 +19,7 @@ jobs:
uses: actions-rs/toolchain@v1
id: toolchain
with:
- toolchain: stable
+ toolchain: nightly
override: true
- name: Run cargo test
