Skip to content

Commit

Permalink
Fix test on targets with crt-static default
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiasko committed Sep 21, 2023
1 parent 34c248d commit c4c4766
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ui/sanitize/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

// check-pass
// revisions: address cfi kcfi leak memory thread
//compile-flags: -Ctarget-feature=-crt-static
//[address]needs-sanitizer-address
//[address]compile-flags: -Zsanitizer=address --cfg address
//[cfi]needs-sanitizer-cfi
//[cfi]compile-flags: -Zsanitizer=cfi --cfg cfi
//[cfi]compile-flags: -Clto -Ccodegen-units=1 -Ctarget-feature=-crt-static
//[cfi]compile-flags: -Clto -Ccodegen-units=1
//[kcfi]needs-llvm-components: x86
//[kcfi]compile-flags: -Zsanitizer=kcfi --cfg kcfi --target x86_64-unknown-none
//[leak]needs-sanitizer-leak
Expand Down

0 comments on commit c4c4766

Please sign in to comment.