mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
6d75f54310
Moves the sanitizer ui tests to the sanitizer directory and removes the sanitizer prefix from tests file names similarly to how the sanitizer codegen tests are organized.
8 lines
255 B
Rust
8 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]
|