Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Enable LeakSanitizer in bindings-rust-asan #820

Closed
wants to merge 5 commits into from
Closed

Conversation

axic
Copy link
Member

@axic axic commented May 23, 2022

Part of #614.

@axic axic requested review from chfast and gumb0 May 23, 2022 09:58
circle.yml Outdated
@@ -691,7 +691,7 @@ jobs:
command: |
export RUSTFLAGS="-Z sanitizer=address -C opt-level=0"
export RUSTDOCFLAGS=$RUSTFLAGS
cargo +nightly test --target x86_64-unknown-linux-gnu
ASAN_OPTIONS=detect_leaks=1 cargo +nightly test --target x86_64-unknown-linux-gnu
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codecov
Copy link

codecov bot commented May 23, 2022

Codecov Report

Merging #820 (1ae9b34) into master (c341e3a) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 1ae9b34 differs from pull request most recent head a0df442. Consider uploading reports for the commit a0df442 to get more accurate results

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   99.10%   99.10%   -0.01%     
==========================================
  Files          86       86              
  Lines       13017    13015       -2     
==========================================
- Hits        12900    12898       -2     
  Misses        117      117              
Flag Coverage Δ
rust 99.60% <100.00%> (-0.01%) ⬇️
spectests 89.98% <ø> (ø)
unittests 98.94% <ø> (ø)
unittests-32 99.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
bindings/rust/src/lib.rs 99.89% <100.00%> (-0.01%) ⬇️

@axic
Copy link
Member Author

axic commented May 23, 2022

@axic
Copy link
Member Author

axic commented May 23, 2022

It seems to be on-by-default, also suggested by https://clang.llvm.org/docs/LeakSanitizer.html.

@axic axic closed this May 23, 2022
@axic axic deleted the rust-san branch May 23, 2022 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants