Skip to content

Commit

Permalink
Work around rust-lang/rust#53945
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Feb 4, 2020
1 parent f85c76f commit 2848951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
cat Cargo.toml
displayName: Enable debug symbols
- script: |
env ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Z sanitizer=address" cargo test --features sanitize --target x86_64-unknown-linux-gnu
env ASAN_OPTIONS="detect_odr_violation=0" RUSTFLAGS="-Z sanitizer=address -Clink-arg=-fuse-ld=gold" cargo test --features sanitize --target x86_64-unknown-linux-gnu
displayName: cargo -Z sanitizer=address test
- job: lsan
dependsOn: deny
Expand All @@ -90,7 +90,7 @@ jobs:
cat Cargo.toml
displayName: Enable debug symbols
- script: |
env RUSTFLAGS="-Z sanitizer=leak" cargo test --features sanitize --target x86_64-unknown-linux-gnu
env RUSTFLAGS="-Z sanitizer=leak -Clink-arg=-fuse-ld=gold" cargo test --features sanitize --target x86_64-unknown-linux-gnu
displayName: cargo -Z sanitizer=leak test
resources:
Expand Down

0 comments on commit 2848951

Please sign in to comment.