Skip to content

Commit

Permalink
Disable RUST_BACKTRACE when running sanitizers.
Browse files Browse the repository at this point in the history
This is an attempt to work around rust-lang/rust#59125.

Fixes rusqlite#729
  • Loading branch information
Thom Chiovoloni committed Jun 5, 2020
1 parent f04b4b6 commit 3ff611a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ jobs:
RUSTFLAGS: -Zsanitizer=address
RUSTDOCFLAGS: -Zsanitizer=address
ASAN_OPTIONS: 'detect_stack_use_after_return=1'
# Work around https://github.com/rust-lang/rust/issues/59125 by
# disabling backtraces. In an ideal world we'd probably suppress the
# leak sanitization, but we don't care about backtraces here, so long
# as the other tests have them.
RUST_BACKTRACE: '0'
run: cargo -Z build-std test --features 'bundled-full session buildtime_bindgen with-asan' --target x86_64-unknown-linux-gnu

# Ensure clippy doesn't complain.
Expand Down

0 comments on commit 3ff611a

Please sign in to comment.