about summary refs log tree commit diff
path: root/tests/ui/target_modifiers/sanitizer-kcfi-normalize-ints.wrong_flag.stderr
blob: 1db79b025e9c9d103b628c227603660d3a726a00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: mixing `-Zsanitizer-cfi-normalize-integers` will cause an ABI mismatch in crate `sanitizer_kcfi_normalize_ints`
  --> $DIR/sanitizer-kcfi-normalize-ints.rs:12:1
   |
LL | #![feature(no_core)]
   | ^
   |
   = help: the `-Zsanitizer-cfi-normalize-integers` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely
   = note: unset `-Zsanitizer-cfi-normalize-integers` in this crate is incompatible with `-Zsanitizer-cfi-normalize-integers=` in dependency `kcfi_normalize_ints`
   = help: set `-Zsanitizer-cfi-normalize-integers=` in this crate or unset `-Zsanitizer-cfi-normalize-integers` in `kcfi_normalize_ints`
   = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer-cfi-normalize-integers` to silence this error

error: aborting due to 1 previous error