Skip to content

Commit

Permalink
ci: next attempt at doctestasan
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Feb 4, 2021
1 parent b5ab953 commit 7dc3493
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -667,13 +667,9 @@ jobs:
- run:
name: Test (debug mode)
command: |
# Temporarily disable running the rustdoc tests, because they fail to link with ASan.
# See https://github.com/rust-lang/rust/issues/81759.
# TODO: re-enable this when possible
echo "[lib]" >>bindings/rust/Cargo.toml
echo "doctest=false" >>bindings/rust/Cargo.toml
RUSTFLAGS="-Z sanitizer=address -C opt-level=0" cargo +nightly test --target x86_64-unknown-linux-gnu
export RUSTFLAGS="-Z sanitizer=address -C opt-level=0"
export RUSTDOCFLAGS=$RUSTFLAGS
cargo +nightly test --target x86_64-unknown-linux-gnu
bindings-rust-coverage:
executor: rust
Expand Down

0 comments on commit 7dc3493

Please sign in to comment.