mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-19 22:00:50 +08:00
Disable RUST_BACKTRACE when running sanitizers.
This is an attempt to work around rust-lang/rust#59125. Fixes #729
This commit is contained in:
parent
f04b4b62b9
commit
e3310b980d
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -93,6 +93,11 @@ jobs:
|
|||||||
RUSTFLAGS: -Zsanitizer=address
|
RUSTFLAGS: -Zsanitizer=address
|
||||||
RUSTDOCFLAGS: -Zsanitizer=address
|
RUSTDOCFLAGS: -Zsanitizer=address
|
||||||
ASAN_OPTIONS: 'detect_stack_use_after_return=1'
|
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
|
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.
|
# Ensure clippy doesn't complain.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user