rust/tests/ui/target_modifiers/sanitizers-safestack-and-kcfi.missed_safestack.stderr

14 lines
735 B
Plaintext

error: mixing `-Zsanitizer` will cause an ABI mismatch in crate `sanitizers_safestack_and_kcfi`
--> $DIR/sanitizers-safestack-and-kcfi.rs:16:1
|
LL | #![feature(no_core)]
| ^
|
= help: the `-Zsanitizer` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely
= note: `-Zsanitizer=kcfi` in this crate is incompatible with `-Zsanitizer=safestack,kcfi` in dependency `safestack_and_kcfi`
= help: set `-Zsanitizer=safestack,kcfi` in this crate or `-Zsanitizer=kcfi` in `safestack_and_kcfi`
= help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=sanitizer` to silence this error
error: aborting due to 1 previous error