mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
66c93ac8ba
Moves the CFI ui tests to the cfi directory and removes the cfi prefix from tests file names similarly to how the cfi codegen tests are organized.
13 lines
467 B
Rust
13 lines
467 B
Rust
// Verifies that `-Zsanitizer=cfi` is incompatible with `-Zsanitizer=kcfi`.
|
|
//
|
|
//@ revisions: aarch64 x86_64
|
|
//@ [aarch64] compile-flags: --target aarch64-unknown-none
|
|
//@ [aarch64] needs-llvm-components: aarch64
|
|
//@ [x86_64] compile-flags: --target x86_64-unknown-none
|
|
//@ [x86_64] needs-llvm-components: x86
|
|
//@ compile-flags: -Clto -Cno-prepopulate-passes -Ctarget-feature=-crt-static -Zsanitizer=cfi -Zsanitizer=kcfi
|
|
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
#![no_main]
|