mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +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.
9 lines
255 B
Rust
9 lines
255 B
Rust
// Verifies that `-Zsanitizer=cfi` with `-Clto` or `-Clto=thin` requires `-Ccodegen-units=1`.
|
|
//
|
|
//@ needs-sanitizer-cfi
|
|
//@ compile-flags: -Ccodegen-units=2 -Clto -Ctarget-feature=-crt-static -Zsanitizer=cfi
|
|
|
|
#![feature(no_core)]
|
|
#![no_core]
|
|
#![no_main]
|